Function Syntax/Passing Variables

BlitzPlus Forums/BlitzPlus Programming/Function Syntax/Passing Variables

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.

testfunc(100, 200)
testfunc(100)

end


Function testfunc(num1, num2=10)
  Print num1 + " : " + num2
End Function