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

[REBOL] Re: writting to file

From: Izkata:Comcast at: 29-Jun-2005 13:20

>> ? empty?
USAGE: EMPTY? series DESCRIPTION: Returns TRUE if a series is at its tail. EMPTY? is an action value. ARGUMENTS: series -- (Type: series port bitset)
>> empty? tail %Wakka
== true
>> tail %Wakka
== %""
>> empty? %""
== true The file %Wakka doesn't exist in this example - empty? is just checking the filename, not the contents of the file. So, for your example,
>>empty? read %lixo.txt
is what would work (although it looks like you alread have it down) -Izzy Boy