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

[REBOL] Re: parse files-block [file!] returns false

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 > 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?
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-