Difference between revisions of "APPDIR()"

From Lianjapedia
Jump to: navigation, search
(Created page with "==Purpose== Function to return current App directory ==Syntax== APPDIR() ==See Also== DEFAULT(), DATADIR(), Lianja System Object, LIBDIR(), PATH()...")
 
Line 14: Line 14:
 
<code lang="recital">
 
<code lang="recital">
 
Lianja.openapp("lianjademo")
 
Lianja.openapp("lianjademo")
 +
? appdir()
 +
C:\Lianja\apps\lianjademo\
 
? Lianja.appdir
 
? Lianja.appdir
 
C:\Lianja\apps\lianjademo\
 
C:\Lianja\apps\lianjademo\

Revision as of 10:45, 8 December 2014

Purpose

Function to return current App directory

Syntax

APPDIR()

See Also

DEFAULT(), DATADIR(), Lianja System Object, LIBDIR(), PATH(), 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\