APPDIR()

From Lianjapedia
Revision as of 05:48, 29 February 2016 by Yvonne.milne (Talk | contribs)

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

Purpose

Function to return current App directory

Syntax

APPDIR()

See Also

DEFAULT(), DATADIR(), Lianja System Object, LIBDIR(), PATH(), SET DATADIR, SET DEFAULT, SET PATH, SYS()

Description

The APPDIR() function returns the name of the current App directory. If no App is currently open, APPDIR() returns an empty string.

Example

Lianja.openapp("lianjademo")
? appdir()
C:\Lianja\apps\lianjademo\
? Lianja.appdir
C:\Lianja\apps\lianjademo\