[Gambas-user] Set a Variable from file

Rob sourceforge-raindog2 at ...94...
Mon Sep 27 16:21:46 CEST 2004


On Monday 27 September 2004 09:28, Eilert wrote:
> Use LINE INPUT instead, that reads everything until the end of
> the line.

Or reduce the whole thing to one line of code, assuming there's 
only the one piece of data in the file:

CPU = File.Load("/tmp/risultato")

Don't forget to strip off linefeeds as necessary if you use this 
method, though.

Rob






More information about the User mailing list