TMPDIR()

From Recital Documentation Wiki
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