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 <[email protected]> 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.
>
>


-- 
奏でて夢

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

Reply via email to