STD.System.Job.OS ( )
The OS function returns the operating system (windows or Linux) of the cluster running the workunit.
Example:
A := STD.System.Job.OS();