Name of script section, block.scriptName, returns the script name where this property is executed.  

 

This is still true when another script section call a script using the script.Execute function.  Name returned is always the name where the block.scriptName is scripted to return a name.

Syntax:

block.scriptName

 

Parameter:

Description:

<none>


 

Example:

'  Property is called using the scripting space within

'  the script section:

'  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PRINT "Block Script Section Name: ", block.scriptName
'  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Returns:

'  If this property was call from within the Before Order Execution

'  script section the name returned will be:

Block Script Section Name:  Before Order Execution

 

'  If this property was call from a script section called UNIT SIZING

'  the script section name returned will be:

Block Script Section Name:  Before Order Execution

 

Links:

Execute, Script

See Also:

Block

 


Edit Time: 9/25/2017 09:09:58 AM


Topic ID#: 521

 

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