Can a function or method return more than one value somehow?
X,Y = GetLocation()
X,Y = GetLocation()
Local x,y getLocation(x,y) Print x Print y Function getLocation(x var, y var) x=3 y=4 Return True End Function
Type Position Field _x Field _y End Type Local pos:Position=getLocation() Print pos._x Print pos._y Function getLocation:Position() Local pos=New Position pos._x=3 pos._y=4 Return pos End Function
For Local Thing = EachIn LocationA() Print Thing Next Function LocationA:Int[]() Return [3,4,5,6,7,8] End Function