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


> Hi list,
> 
> what's inside %lixo.txt when I save it this way? 
> 
>>> write %lixo.txt ""
> 
>>> empty? %lixo.txt
> == false
> 
>>> a: read %lixo.txt
> == ""
> 
>>> empty? a
> == true
> 
> 
> 
> -- 
> *:-.,_,.-:*'``'*:-.,_,.-:
> Carlos Lorenz
> *:-.,_,.-:*'``'*:-.,_,.-:
> 
> -- 
> To unsubscribe from the list, just send an email to 
> lists at rebol.com with unsubscribe as the subject.
> 
>

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to