[Gambas-user] Set a Variable from file

Cryrulez sniper at ...593...
Mon Sep 27 14:00:07 CEST 2004


I have a file /tmp/risultato that contain a string: Athlon XP 2000
I want to set a variable with this string and I use this function

OPEN "/tmp/risultato" FOR READ AS #FileCPU 
INPUT #FileCPU, CPU 
CLOSE #FileCPU 

The variable CPU contain only Athlon and not all string. 
Who have an idea to set the complete string to CPU variable? Tnx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040927/8aa227b7/attachment.html>


More information about the User mailing list