9.2. Getting the local computer name
The getcompname command gets the name of the computer that the program is running on. The computer name is copied to the specified user variable.
The syntax is
Exhibit 9.3. table title
getcompname <user variable>;
|
An example is
Exhibit 9.4. table title
getcompname ~comp_name; #get the name of this computer
|