|
Post by Nicky Peter Hollyoake on Jun 7, 2007 21:46:48 GMT -5
Hey I wanna use the 'include' command like this, but it don't seem to be possible:
Const LEVELS = 1 Dim i
For i = 1 To LEVELS Execute(Compile("include Levels/Level"+i+"Data.GB")) Next
Read i print i
They are a data command used in that file too.
Nicky
|
|
|
Post by Tom Mulgrew on Jun 8, 2007 5:00:03 GMT -5
Hey I wanna use the 'include' command like this, but it don't seem to be possible: Const LEVELS = 1 Dim i
For i = 1 To LEVELS Execute(Compile("include Levels/Level"+i+"Data.GB")) Next
Read i print i They are a data command used in that file too. The Compile and CompileFile commands don't support "include". This works though.. Const LEVELS = 1 Dim i
For i = 1 To LEVELS Execute(CompileFile("Levels/Level"+i+"Data.GB")) Next
Read i print i -Tom
|
|
|
Post by James :) (aka Madcow) on Jun 8, 2007 12:24:16 GMT -5
Hello Madcow what you need is #inclib not #include right? Joshy yup, it would be really usefull if basic4gl could have inclib support so compiled files can load dlls
|
|