Then what about ZSTRING ?fxm wrote:When using 'SETENVIRON(envStr)' with Linux, the 'envStr' string must be permanent (a literal, a variable declared in the main code or a static variable declared in a procedure), because Linux does not memorize the string but only a pointer to its data characters.
SETENVIRON
-
- Posts: 862
- Joined: May 05, 2015 5:35
- Location: Germany
Re: SETENVIRON
Re: SETENVIRON
A string literal is by principle always a Zstring.
Otherwise, for Zstring variables, same constraint.
Otherwise, for Zstring variables, same constraint.