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

[REBOL] Re: Please help me out

From: izkata::gmail at: 22-Aug-2010 12:09

If you open the file in a text editor, you'll see that it does contain AfricanChild on one line. All that's needed is a newline in the middle: write kool "African" write/append kool newline write/append kool "Child" Alternatively, 'write has another refinement that could help here: write/lines kool "African" write/lines/append kool "Child" The /lines refinement works similar to read/lines - this would result in the same as the above: write/lines kool [ "African" "Child" ] On Sun, Aug 22, 2010 at 11:46 AM, Emeka <emekamicro-gmail.com> wrote:
> Hello All, > > I have the below; > > kool: %gin.txt > > write kool "African" > write/append kool "Child" > > Now, I would want to read the file , and print first "African", and second > "Child" > > I tried > read/lines kool > == [ "AfricanChild"] > > I was looking for something like [ "African" "Child"] > > Regards, > Emeka > > -- > To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject. >
-- 奏でて夢