Difference between revisions of "PUTENV()"
From Recital Documentation Wiki
Helengeorge (Talk | contribs) (→Class) |
Helengeorge (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Function to update the value of an environment symbol | Function to update the value of an environment symbol | ||
Line 28: | Line 26: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital, Recital Server |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Environment]] | [[Category:Environment]] | ||
[[Category:Environment Functions]] | [[Category:Environment Functions]] |
Revision as of 15:01, 7 December 2009
Purpose
Function to update the value of an environment symbol
Syntax
PUTENV(<expC1>,<expC2>)
See Also
Description
The PUTENV() function updates the value of <expC1> with the character expression <expC2>. The value of the symbol can be retrieved using the GETENV() function. If variable <expC1> does not exist, it is created. If the operation is successful, then PUTENV() returns .T., otherwise .F..
Example
set printer to \\spooler putenv("db_print","/usr/recital/UD/print_labels") list status to print ? getenv("db_print") /usr/recital/UD/print_labels
Products
Recital, Recital Server