@Réno :
Because it's declared as a local variable for the first function... Declare it as a Global outside of function and it will work across all functions.
I see, but in the original ( not updated ) docs pak syntax is Float. If you look into the keywords file generated by the compiler itself ( .lng file located in the /conf directory ) it is also just Float. Probably mistake in the updated docs...
But I'll change this in IDEal internally so it will accept also Float#, because obviously the compiler accepts both. Thanks for pointing this anyway.
@Dustin:
Debuglog sends it's output to the debuglog window in the blitz debugger ( when you run 'debug compile' ) , not in the output window of IDEal.
1/yes, it works, but when I use another function to work with, the code returns in red...
Because it's declared as a local variable for the first function... Declare it as a Global outside of function and it will work across all functions.
alright, I see, because I always use the exact syntax of the doc ( and in this case "Float#( value )" )
I see, but in the original ( not updated ) docs pak syntax is Float. If you look into the keywords file generated by the compiler itself ( .lng file located in the /conf directory ) it is also just Float. Probably mistake in the updated docs...
But I'll change this in IDEal internally so it will accept also Float#, because obviously the compiler accepts both. Thanks for pointing this anyway.
@Dustin:
The debuglog command doesn't seem to be sending anything to the output window
Debuglog sends it's output to the debuglog window in the blitz debugger ( when you run 'debug compile' ) , not in the output window of IDEal.