[Gambas-user] File.Load = Null Object

scatman scatman_ at ...17...
Sun Nov 28 15:16:50 CET 2004


Hallo,

i have a Problem with File.Load.
I wrote this

Dim dev[3] AS String
Dim sTemp AS String

IF Exist("/proc/ide/ide0/hda") THEN
                SHELL "cat /proc/ide/ide0/hda/media >" & sTemp  WAIT
                dev[0] = File.Load (sTemp)

and Gambas tells me Error Null Object.
The Tempstring exist. I dont know why, but in other Projects this Code works.
Gambas RC3

Look at the Screenshot ...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gambas_null_object.jpg
Type: image/jpeg
Size: 110458 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20041128/9640e60b/attachment.jpg>


More information about the User mailing list