Write ti file line by line

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Write ti file line by line

The Student
hey,

I Have problem to write to File line by Line.
I Write my string to file like :  stream nextputall:'mystring';cr.
when i write another string to my file in new line, in the file i see that the two strings are in one line.
steam is my instance of my file.


example:
first string  - 'hello'
second string - 'world'

in the file i want to see :

hello  //line1
world //line 2

actually i see:
helloworld //line 1


anyone know how ti fix the problem?

Thanks.