Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

parse files-block [file!] returns false

 [1/3] from: steve::shireman::maxonusa::com at: 7-Nov-2000 10:37


I am probably infected here by awk thinking, but I would like to be able to parse a block of files using block parsing, and I think the docs do not mention the file! datatype for Matching. ; if I resist obeying the manual and try it anyway
>> files_block read %. ;list of files in current directory >> parse files-block [file!]
==false Is this intentionally not allowed? or am I looking at it wrong? Thanks, Steve Shireman

 [2/3] from: petr:krenzelok:trz:cz at: 7-Nov-2000 17:52


----- Original Message ----- From: Steve Shireman <[steve--shireman--maxonusa--com]> To: <[rebol-list--rebol--com]> Sent: Tuesday, November 07, 2000 5:37 PM Subject: [REBOL] parse files-block [file!] returns false
> I am probably infected here by awk thinking, but I would like to be able > to parse a block of files using block parsing, and I think the docs do
<<quoted lines omitted: 4>>
> ==false > Is this intentionally not allowed? or am I looking at it wrong?
1) it's not cut from the console, is it? your first line uses files_block while your second one files-block 2)
>> files_block: read %.
== [%public/ %rebl.exe %user.r %rebol.r %rebol.exe %browse-system.r %games/ %new-view031.zip %udalosti.zip %asko/ %obr.jpg %ppm.r %...
>> parse files_block [some file!]
== true HTH, Cheers, -pekr-

 [3/3] from: steve:shireman:maxonusa at: 7-Nov-2000 15:34


Petr, Thanks--got me off dead center. I didn't have the some in there, besides my email typo. Nice to get quick help--even cooler that its from a country farther away than California... Steve Shireman Petr Krenzelok wrote:

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted