User Tools

Site Tools


syntax:functions:system

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
syntax:functions:system [2017/08/19 19:25] – created dmitrysyntax:functions:system [2018/08/13 15:44] 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  ^  Result  ^ ^  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. |  | user |The current Windows user. | 
-| callerpath |The full path of the calling project ((The calling project is the project that contains Call or Iterate transformation that called the current project)) including file name. |  +| projectpath |The full path to the current project including file name. |  
-| utcoffset |The UTC offset to the system time zone ( e.g. "-04:00:00"). | +| 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:call|Call]] or [[transformations:iterate|Iterate]] transformation that called the current project)) including file name. | 
 +| 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. "-04:00:00"). 
 +| tempdir |The current temporary directory. | 
 +| projectappversion|The version of application that created current project |
  
 **Example** **Example**
 ^  Example  ^  Result  ^ ^  Example  ^  Result  ^
-| system('projectfilepath' |C:\Documents\myproject.morph |+| system('projectpath' |C:\Documents\myproject.morph |
  
 **See also** **See also**
syntax/functions/system.txt · Last modified: 2021/11/22 07:38 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki