Function will access any String value returned using the script.SetReturnValue


Use this property to return to the calling script the single string being returned.


Multiple String Returns will use script.stringParameterList property.



sTextItem = script.stringReturnValue








'  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'  Within a Custom Function where a simple
'  text item is given a value  
  sStringItem = "ABCD"
  '  After All the calculates are done, use
  '  this function to Return a string value
  script.SetReturnValue( sStringItem )
'  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'  ---------------------------------------------
'  In the script where the Custom Function is called,
'  use this function's string return value.
PRINT "String Value Returned: ", script.stringReturnValue
'  ---------------------------------------------



String Value Returned: ABCD




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

Topic ID#: 591


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