HTBasic Help
×
Menu
Index

Pass by Reference

 
All CALL arguments are passed by reference. That is, all user arguments are pointers to the data. Simple numeric variables generate one pointer that points to the variable data. Strings and Array variables generate two pointers. The first points to the first element of the data array and the second points to the array dimension table. The array elements are stored in row-major order. String elements are made up of the current string length followed by the string character data.