TMPDIR()

From Recital Documentation Wiki
Revision as of 14:34, 1 July 2011 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Function to return the current temporary file directory location


Syntax

TMPDIR()


See Also

DB_TMPDIR, SET TMPDIR, SYS()


Description

The TMPDIR() function is used to return the current temporary file directory location. The DB_TMPDIR environment variable sets the location. It can be overriden using the SET TMPDIR command.


Example

? getenv([DB_TMPDIR])
? tmpdir()
set tmpdir to "/usr/tmp/"
? tmpdir()


Products

Recital Server, Recital