<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">I made it a constant in the interface.<br>I shouldn't have to pay for heap allocation for constants.. :(<br><br>Thanks,<br> - Jay<br></div><br><br><hr id="stopSpelling">> Date: Sat, 5 Apr 2008 21:36:53 +0200<br>> From: lemming@henning-thielemann.de<br>> Subject: Re: [M3devel] returning an array from a function??<br>> To: jayk123@hotmail.com<br>> CC: m3devel@elegosoft.com<br>> <br>> <br>> On Sat, 5 Apr 2008, Jay wrote:<br>> <br>> > How does one return a constant array of unspecified size from a function?<br>> > You know, what might otherwise be a constant array in the interface, but I'd<br>> > rather hide it behind a function?<br>> <br>> Since you cannot obtain a traced pointer to an existing object, you can <br>> only create a reference as global variable, initialize it with NEW and := <br>> in the modules startup code and return that pointer by <br>> GetPathVariableNames.<br>> <br></body>
</html>