Used to return a numeric value from a custom function.

 

Syntax:

lResult = script.returnValue

 

Parameter:

Description:

<None>

Values assigned using the script.SetReturnValue( ) function.

 

Example:

'  Set the return value to 4
script.SetReturnValue( 4 )
'  Assign the return value to the long integer lResult
lResult = script.returnValue
'  Print the value of lResult
Print lResult

 

Results:

Print statement will display: 4

 

 

Links:

Script, Script Functions, Script Properties

See Also:

 

 


Edit Time: 4/6/2017 02:16:46 PM


Topic ID#: 504

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software