Im trying to load some lines from a txt file, but I am having problems...
I use the
----
plname = ReadFile("planets.txt")
----
command to open the txt file, then i use the
----
Read1$ = ReadLine( plname )
Read2$ = ReadLine( plname )
Read3$ = ReadLine( plname )
Read4$ = ReadLine( plname )
----
to load the lines into variables.
When i use the print command (like print Read1$) it works
perfectly, printing the line on screen. But when i try to
copy the read1$ to the global planet$, and send it to an other computer, it turs out empty.
When i check the global planet$ in the debugger, its empty!
But if i print it, it turns out right.
Whats going on???
I use the
----
plname = ReadFile("planets.txt")
----
command to open the txt file, then i use the
----
Read1$ = ReadLine( plname )
Read2$ = ReadLine( plname )
Read3$ = ReadLine( plname )
Read4$ = ReadLine( plname )
----
to load the lines into variables.
When i use the print command (like print Read1$) it works
perfectly, printing the line on screen. But when i try to
copy the read1$ to the global planet$, and send it to an other computer, it turs out empty.
When i check the global planet$ in the debugger, its empty!
But if i print it, it turns out right.
Whats going on???