How many parameters

Blitz3D Forums/Blitz3D Beginners Area/How many parameters

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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:
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?