Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
mscripteditor [2017/12/22 02:22]
admin [Code Assist]
mscripteditor [2020/03/21 02:07]
admin [MScript Macro]
Line 131: Line 131:
 ---- ----
  
-====MScript Macro==== 
-You may define a set of macros to encapsulate a set of frequently used MScript. This is done via editing the //CAMacro.properties// in //config// folder. 
- 
-You may add tooltip to each of the macro by appending //@tooltip:my tool tip msg// to the end of the macro line. 
- 
-Macro file //CAMacro.properties// can include other files by adding the following: 
- 
-     include=file1,file2 
- 
-To call up macros, press //ctrl+M// (or //alt+M//). 
- 
----- 
  
 ====Requirements Tags==== ====Requirements Tags====
Line 156: Line 144:
      <!-- your comments goes here -->      <!-- your comments goes here -->
  
-  * you can add as many comments you would like anywhere in the mscript triggers.+  * you can add as many comments you would like anywhere in the MScript triggers.
   * you can continue to use //comment// parameter, but commenting using xml comment tag is recommended.   * you can continue to use //comment// parameter, but commenting using xml comment tag is recommended.
   * you may have the comments written out to an output file as MScript is executed. By default writing comments to an output file is off. It can be turned on with MScript function //$enableCommentToSeqOut()// or turned off with //$isableCommentToSeqOut()//.   * you may have the comments written out to an output file as MScript is executed. By default writing comments to an output file is off. It can be turned on with MScript function //$enableCommentToSeqOut()// or turned off with //$isableCommentToSeqOut()//.
Line 181: Line 169:
 The system collects the number of times each MScript tag is executed.  For MScript container tags like //if// and //while// that contain other MScript tags, the coverage is also presented. The system collects the number of times each MScript tag is executed.  For MScript container tags like //if// and //while// that contain other MScript tags, the coverage is also presented.
  
-The coverage metrics are then displayed with two additional mscript attributes: //execCount// and //coverage//.+The coverage metrics are then displayed with two additional MScript attributes: //execCount// and //coverage//.
  
   * //execCount// - number of times the MScript tag has been executed.   * //execCount// - number of times the MScript tag has been executed.
   * //coverage// - percentage of child MScript tags that have been executed.   * //coverage// - percentage of child MScript tags that have been executed.