Difference between revisions of "APPDIR()"

From Lianjapedia
Jump to: navigation, search
Line 6: Line 6:
  
 
==See Also==
 
==See Also==
[[DEFAULT()]], [[DATADIR()]], [[Lianja|Lianja System Object]], [[LIBDIR()]], [[PATH()]], [[SET DEFAULT]], [[SET PATH]], [[SYS()]]
+
[[DEFAULT()]], [[DATADIR()]], [[Lianja|Lianja System Object]], [[LIBDIR()]], [[PATH()]], [[SET APPDIR]], [[SET DATADIR]], [[SET DEFAULT]], [[SET LIBDIR]], [[SET PATH]], [[SYS()]]
  
 
==Description==
 
==Description==

Revision as of 07:10, 19 February 2016

Purpose

Function to return current App directory

Syntax

APPDIR()

See Also

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