optional variables

BlitzPlus Forums/BlitzPlus Programming/optional variables

Yes. Here's an example:
Out("Hello")
Out("Twice", 2)
WaitKey

Function Out(s$, count%=1)
	For i = 1 To count
		Print s$
	Next
End Function

Just make sure the optional parameters are specified after the others.