Passing a TImage to a function
BlitzMax Forums/BlitzMax Programming/Passing a TImage to a function
| ||
Hi everyone, the following code..Function DoSomething(someImage:Image) End Function someImage will always just be a pointer to whatever image is provided, right? Thanks |
| ||
| Bit rusty on my Blitzmax but I'm pretty sure all objects are passed by reference, as are arrays. |
| ||
| xcessive is correct. numeric values and strings are passed by value by default, everything else by reference. |
| ||
| Fantastic, thank you :) |