getsysinfo
| getsysinfo | 
  Purpose
 
  
  Synopsis
 
 function getsysinfo:string
 function getsysinfo(what:integer):string
 function getsysinfo(I:Mosel):string
 function getsysinfo(I:Mosel,what:integer):string
 
  Arguments
 
 | 
     what 
     | 
     What information to collect:
     
 | ||||||||||||
| 
     I 
     | 
     A Mosel instance
     | 
  Return value
 
 
 A text string reporting the requested information.
 
  Example
 
 
 The following prints the computer name and its operating system version:
 
 writeln("Node ",getsysinfo(SYS_NODE),
        " is running ",getsysinfo(SYS_NAME+SYS_REL))
  Further information
 
 
 1. Several information items can be obtained in a single call by summing up the option codes. In such a case, the resulting string consists in the different items separated by commas.
 
 
 2. When the function is used without the
 what parameter, all information items are returned.
 
 
 3. This function may also be used with a Mosel instance
  as its first parameter. In this case the returned information relates to the system running this instance instead of the current system.
 
 
  Related topics
 
  
  Module
 
  
