built-in shelf
#platform-info
is a keyed, built-in shelf that provides information about the type of platforms
supported by the current version of OmniMark.
The key is used to select the particular piece of information desired. Currently, the shelf has one item with
the key os-class
. This item describes the type (or class) of operating system that the currently
running OmniMark supports. The possible values are:
UNIX
Windows
WARNING: Do not depend on the order of the items in this shelf. Always use the key when looking for a specific piece of information. For instance, code that assumes that a particular item is the last one on the shelf will likely break the next time that a new item is added (the next release). Similarly, code that assumes that a particular item is the first item on the shelf will likely break on the next release.
If you used this code:
process output "Operating system (platform) info: " || #platform-info || "%n"
your output might look like the following: Operating system (platform) info: Windows