Multiple Methods in a Single line

BlitzMax Forums/BlitzMax Beginners Area/Multiple Methods in a Single line

This works fine:
SuperStrict

Type Y
	Method Add%(f%)
		Return f+10
	End Method
End Type

Type M
	Method Add%(f%)
		Return f+100
	End Method
End Type

Local yourvar:Y = New Y
Local Myvar:M = New M

DebugLog MyVar.Add( YourVar.Add(10) )


Probably not what you meant.