syntax:functions:system
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
syntax:functions:system [2017/08/19 19:28] – dmitry | syntax:functions:system [2018/06/04 09:05] – dmitry | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== system(keyword) ===== | + | ===== System(keyword) ===== |
Returns system values. They keyword must be a text constant. Reference to a field or parameter not allowed. | Returns system values. They keyword must be a text constant. Reference to a field or parameter not allowed. | ||
Line 5: | Line 5: | ||
Currently supported keywords: | Currently supported keywords: | ||
^ Keyword | ^ Keyword | ||
- | | 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. | | | user |The current Windows user. | | ||
- | | callerpath |The full path of the calling project ((The calling project is the project that contains the [[transformations: | + | | projectpath |The full path to the current project including file name. | |
- | | utcoffset |The UTC offset to the system time zone ( e.g. " | + | | projectfilename |Current project’s file name only, without extension. | |
+ | | projectdir |Current project’s directory. | | ||
+ | | callerpath |The full path to the calling project ((The calling project is the project that contains the [[transformations: | ||
+ | | callerfilename |The directory of the calling project. | | ||
+ | | programdir |The full path to morph.exe. | | ||
+ | | currentdir |The working directory. | | ||
+ | | utcoffset |The UTC offset to the system time zone ( e.g. " | ||
+ | | tempdir |The current temporary directory. | | ||
**Example** | **Example** | ||
^ Example | ^ Example | ||
- | | system(' | + | | system(' |
**See also** | **See also** |
syntax/functions/system.txt · Last modified: 2021/11/22 07:38 by dmitry