what one command
Blitz3D Forums/Blitz3D Beginners Area/what one command
| ||
clears all variables and arrays ? thanks ! S/D |
| ||
End |
| ||
lol |
| ||
In fact I was missing a CLEAR command too, it makes reinitialiation of eg. a game engine much easier. The easiest way around it is: keep a list of all your arrays and variables in an include file. You may execute a reinitialisation using a GOSUB (yo), so it will initialize arrays and variables, regardless if they're declared as globals or not (if you place the reinitialisation inside a function, non-globals of the main code will be ignored ). See, GOSUB is still good for some things. |
| ||
thanks jfk ! :) |