Functions/Methods & Return-ing Data

BlitzMax Forums/BlitzMax Beginners Area/Functions/Methods & Return-ing Data

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.

Local c, d
myotherfunction( 10, c, d )

Print c
Print d

Function myotherfunction(a, c Var, d Var)
	Local b = 5
	c = a + b
	d = a - b
End Function