Home
Products
Community
Manuals
Contact
Login or Signup

BlitzMax Docs -> 2D - Category -> Basic -> Method

Method

Returns:

Nothing.

Description:

Begin a Method declaration

Example:

Rem
Method marks the beginning of a BlitzMax custom type member function.
End Rem

Type TPoint
	field	x,y

	Method ToString$()
		return x+","+y
	End Method
End Type

a:TPoint=new TPoint
print a.ToString() 

Comments

None.

BlitzMax Manual Forum

Blitz3D Equivalent Command