Do something when setting a type parameter?

BlitzMax Forums/BlitzMax Beginners Area/Do something when setting a type parameter?

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.

I would really like to see Set and Get implemented (as in delphi read/write).

i.e.
Type Sprite
	Field Order:Int Set SetOrder Get GetOrder
	
	Method SetOrder(val:Int)
		Order = val
	End Method

	Method GetOrder:Int()
		Return Order
	End Method
End Type