User Tools

Site Tools


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('projectpath') C:\Documents\myproject.morph

See also

1)
The calling project is the project that contains the Call or Iterate transformation that called the current project
syntax/functions/system.1520347499.txt.gz · Last modified: 2018/03/06 09:44 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki