PRODUCT |

|

|
|

|
|
|
|
|
FAQ |
|

|
|
|
|
|
|
LEARN SCRIPTING |
|

|
|
|
|
|
|
|
|
|
|
SAMPLE SCRIPTS |
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
HELP / DOCUMENTATION |
|

|
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
Help Page - getcomputer
( Some help pages may not display correctly in html because those help pages may have sample code in them, part of which may be mis-interpreted as html tags.
All help pages, including this help page, are available in biterScripting with the help command. )
|
|
Function
getcomputer
Purpose
Gets the name of the computer.
Return Type
str
Syntax
getcomputer()
Arguments
None.
Return Value
A str value representing the name of the computer on which biterScripting is running.
Stream Input
Streams apply to commands and not to functions.
Stream Output
Streams apply to commands and not to functions.
Stream Error
Streams apply to commands and not to functions, although any errors
will be written here.
Description
This function returns the name of the local computer.
Restrictions
All system functions are declared as global, and can not be redeclared (overloaded).
Valid Examples
echo getcomputer()
Will print the name of the computer to screen.
var string computer
set $computer = getcomputer()
Will set the value of string variable $computer to the name of the local computer.
Invalid Examples
var bool computer
set $computer = getcomputer()
Will result in an error. The function getcomputer() returns a string value. Variable $computer
is of type boolean. Automatic conversion from string value to boolean value is not possible.
See Also
getSN
var
constant
conversion
|
|
© 2008-2013, biterScripting.com. All rights reserved.
biterScripting, biterScript, biterBrowser, biterMobile, biterScripting.com, FVA (Forward Variable Assignment) are trademarks of biterScripting.com. Is it biterScripting-compatible ? is a service mark of biterScripting.com.
Explorer, Unix, Windows are trademarks, service marks or other forms of intellectual property of their respective owners.
|
|