While it still works i wanted to open a API file using Open handle and use it's returned filenum with Line input #..
It seems that Line Input only handles #..
I wanted to open in an earlier stage and use a global variable in a type.
Since it doesn't actually returns a new pb filenumber i assume it's all based on basic notation only.
Dim FF As Long
open handle hAPIFile For Input As #FF
Line Input #FF....
FF is 0 but works fine.
But now this;
Type AllSettings
hAPIFile As long
hPBFile As Long
End Type
Global MyType as AllSettings
Open handle MyType.hAPIFile For Input As MyType.hPBFile
Line Input MyType.hPBFile, a$
Can't get this to work..
(In fact, I still need an API Line Input..)
It seems that Line Input only handles #..
I wanted to open in an earlier stage and use a global variable in a type.
Since it doesn't actually returns a new pb filenumber i assume it's all based on basic notation only.
Dim FF As Long
open handle hAPIFile For Input As #FF
Line Input #FF....
FF is 0 but works fine.
But now this;
Type AllSettings
hAPIFile As long
hPBFile As Long
End Type
Global MyType as AllSettings
Open handle MyType.hAPIFile For Input As MyType.hPBFile
Line Input MyType.hPBFile, a$
Can't get this to work..
(In fact, I still need an API Line Input..)
Comment