Android has been updated to support several standard Xojo language features, including: Structures Structures are a fixed-size data structure that can contain properties of simple…
Comments closedTag: ByRef
A reader asked me to clarify something about my previous post. Their question was:
Comments closedWhen MyMethod is written as:
Sub MyMethod( i() as integer ) i = array(10,20,30) system.debuglog CurrentMethodName + " i(0) = " + str(i(0)) + " i(1) = " + str(i(1)) + " i(2) = " + str(i(2)) End SubWhat happens if instead of trying to assign a new array you just alter the values in the array passed in?
Let’s talk about the difference between a “reference type” and the BYREF modifier on a passed parameter.
Comments closed