Is there a certain limit within Blitz3D to how many parameters there can be passed to a function?
I thought the limit in VB6.0 was 6 parameters, but not sure in Blitz.
Like this:
And how do you set a default value to a certain parameter?
Is it this way:
If it is, must all further parameters (if there were some more after "ParamB%") also have a default value?
I thought the limit in VB6.0 was 6 parameters, but not sure in Blitz.
Like this:
Function DoSomething(ParamA%, ParamB%, ParamC%, ParamD$) ; This function now receives 4 parameters End Function
And how do you set a default value to a certain parameter?
Is it this way:
Function DoSomething(ParamA%, ParamB% = 5) End Function
If it is, must all further parameters (if there were some more after "ParamB%") also have a default value?