Difference between revisions of "TMPDIR()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
==See Also== | ==See Also== | ||
− | + | [[SET TMPDIR]], [[SYS()]] | |
==Description== | ==Description== | ||
− | The TMPDIR() function is used to return the current temporary file directory location | + | The TMPDIR() function is used to return the current temporary file directory location. |
==Example== | ==Example== | ||
<code lang="recital"> | <code lang="recital"> | ||
+ | // envar Lianja Server only | ||
? getenv([DB_TMPDIR]) | ? getenv([DB_TMPDIR]) | ||
? tmpdir() | ? tmpdir() | ||
− | set tmpdir to " | + | set tmpdir to "C:\tmp\" |
? tmpdir() | ? tmpdir() | ||
</code> | </code> | ||
Line 22: | Line 23: | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Environment Functions]] | [[Category:Environment Functions]] | ||
+ | [[Category:Lianja VFP Extensions]] | ||
+ | [[Category:VFP Function Extensions]] |
Latest revision as of 13:33, 19 May 2014
Contents
Purpose
Function to return the current temporary file directory location
Syntax
TMPDIR()
See Also
Description
The TMPDIR() function is used to return the current temporary file directory location.
Example
// envar Lianja Server only ? getenv([DB_TMPDIR]) ? tmpdir() set tmpdir to "C:\tmp\" ? tmpdir()