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

[REBOL] Re: writting to file

From: carlos::lorenz::gmail::com at: 29-Jun-2005 16:40

thanks IB :) 2005/6/29, Izkata <[Izkata--comcast--net]>:
> > >> ? 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 <http://rebol.com> with unsubscribe as the subject. > > > > > > -- > To unsubscribe from the list, just send an email to > lists at rebol.com <http://rebol.com> with unsubscribe as the subject. >
-- *:-.,_,.-:*'``'*:-.,_,.-: Carlos Lorenz *:-.,_,.-:*'``'*:-.,_,.-: