Author Topic: Function variable initialisation with constants  (Read 1367 times)

MrTAToad

  • Guest
One that would be nice would be to allow function parameter variables to be initialised with constants, so :

One that would be nice would be to allow function parameter variables to be initialised with constants, so :

Code: GLBasic [Select]
CONSTANT R% = 4

FUNCTION test%:value% = R%
ENDFUNCTION

would work