GLBasic forum

Feature request => IDE/Syntax => Topic started by: MrTAToad on 2010-Nov-13

Title: Function variable initialisation with constants
Post by: MrTAToad on 2010-Nov-13
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