ProgressVersion - niandy/pct GitHub Wiki
Description
Stores the Progress version in properties.
XML namespace
<pct:progress_version />
Parameters
Attribute | Description | Default value |
---|---|---|
dlcHome ‡ | Progress installation directory | None |
majorVersion | Major version (extracts "10" from 10.0B02) | |
minorVersion | Minor version (extracts "0" from 10.0B02) | |
revision | Revision (extracts "B" from 10.0B02) | |
patchLevel | Patch level (extracts "02" from 10.0B02) | |
bitness | R-Code bitness (32 or 64) | |
fullVersion | Extracts the full string from $DLC/version | |
reducedVersion | Extracts only the version from $DLC/version | |
rcodeVersion | R-Code version |
† Only one of those attributes is mandatory ‡ Mandatory attribute
Parameters as nested elements
None
Examples
<ProgressVersion dlcHome="/path/to/dlc" majorVersion="major" minorVersion="minor" fullVersion="full" bitness="bitness" />
<echo message="${major}.${minor} ${bitness} bits" />
could display the following string :
[echo] 12.0 32 bits
Note that rcode bitness is always 32 bits starting from version 11, bitness attribute only makes sense in version 10