syntax:functions:system
This is an old revision of the document!
system(keyword)
Returns system values. They keyword must be a text constant. Reference to a field or parameter not allowed.
Currently supported keywords:
Keyword | Result |
---|---|
projectpath | The full path to the current project including file name. |
projectfilename | Current project’s file name only. |
programpath | The full path to morph.exe. |
currentpath | The working directory. |
user | The current Windows user. |
callerpath | The full path of the calling project 1) including file name. |
utcoffset | The UTC offset to the system time zone ( e.g. "-04:00:00"). |
Example
Example | Result |
---|---|
system('projectfilepath') | C:\Documents\myproject.morph |
See also
syntax/functions/system.1503185298.txt.gz · Last modified: 2017/08/19 19:28 by dmitry