Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
execmscriptexpr [2016/09/22 02:35]
127.0.0.1 external edit
execmscriptexpr [2020/05/10 02:30]
admin removed
Line 2: Line 2:
 //Execute MScrxipt Exprsesion// allows users to run mscript expression at runtime when model execution is paused. Use this feature for debugging or interaction with AUT. //Execute MScrxipt Exprsesion// allows users to run mscript expression at runtime when model execution is paused. Use this feature for debugging or interaction with AUT.
  
-{{http://testoptimal.com/img/ExecMScriptExpr.png}}+{{http://testoptimal.com/img/MScriptSandbox.png?600x400}}
  
  
-To execute an mscript expression, just type them into the text area.  You may enter multiple lines of mscript expressions and they will be executed sequentially one line at a time. Long mscript expression will be auto-wrapped in the text area.+==== Execute MScript ==== 
 +To execute an MScript expression, just type them into the text area and click on the run button above MScript text area.  
  
 The results from the execution are displayed in the area underneath //Execute// button. The results from the execution are displayed in the area underneath //Execute// button.
  
-You may select mscript function from the mscript function dropdown lists to copy the mscript function call into the mscript expression text area.  The mscript function call should be inserted at the cursor position.+You may enter multiple MScript expressions in separate lines and they will be executed sequentially one line at a time. Long MScript expression will be auto-wrapped in the text area.
  
-You may use the mini-buttons to advance the model execution.+==== MScript Function List ==== 
 +You may select MScript function from a list by clicking on "func" link on the upper-right corner above MScript text area. The MScript function list will be shown.  
 + 
 +{{http://testoptimal.com/img/MScriptSandbox_FuncList.png?200x400}} 
 + 
 +You cal also bring up MScript function list by pressing "Ctrl-Space"
 + 
 +Clicking on "func" link again to hide MScript function list.  Clicking area outside of MScript function list will also close the MScript list. 
 + 
 +Select the MScript function by clicking on the MScript name.  The MScript expression is automatically inserted into MScript text area at the current cursor position. 
 + 
 +By default all MScript functions from system and all plugins that have been activated for the model will be displayed in MScript function.  You may filter MScript function list to a specific plugin by selecting the plugin from the plugin dropdown list. 
 + 
 + 
 +{{http://testoptimal.com/img/MScriptSandbox_MScriptFunc.png?200x400}} 
 + 
 + 
 + 
 + 
 +==== Continue Debugging ==== 
 + 
 +While you are in MScript Sandbox window, you may use the mini-buttons to advance the model execution.