[M3devel] returning an array from a function??

Henning Thielemann lemming at henning-thielemann.de
Sat Apr 5 21:36:53 CEST 2008


On Sat, 5 Apr 2008, Jay wrote:

> How does one return a constant array of unspecified size from a function?
> You know, what might otherwise be a constant array in the interface, but I'd
> rather hide it behind a function?

Since you cannot obtain a traced pointer to an existing object, you can 
only create a reference as global variable, initialize it with NEW and := 
in the modules startup code and return that pointer by 
GetPathVariableNames.




More information about the M3devel mailing list