Difference between revisions of "GET OLD OP LIST"

From Macros Wiki
Jump to: navigation, search
Line 4: Line 4:
 
|description=:Get a list of the current operations, to be used with the command [[GET_NEW_OP_LIST]].
 
|description=:Get a list of the current operations, to be used with the command [[GET_NEW_OP_LIST]].
 
:<br>
 
:<br>
 +
:Use this command before you make any changes to the operation list.<br>
 +
:After your changes, use the [[GET_NEW_OP_LIST]] command to get a list of the operations that have<br>
 +
:been created, deleted and moved.
 
|param1=|param1_desc={{No Parameters}}
 
|param1=|param1_desc={{No Parameters}}
 
}}
 
}}
 
===Example===
 
===Example===
 +
:LOCAL OpsSame(1000), OpsNew(1000), OpsDeleted(1000), OpsMoveFrom(1000), OpsMovedTo(1000)
 +
:<br>
 
:GET_OLD_OP_LIST
 
:GET_OLD_OP_LIST
 
+
:<br>
 +
:(make your changes to the operation list)
 +
:<br>
 +
:GET_NEW_OP_LIST OpsSame, OpsNew, OpsDeleted, OpsMoveFrom, OpsMovedTo
 +
<br>
 +
:You can now used the variables NUMBER_OF_SAME_OPS, NUMBER_OF_NEW_OPS, NUMBER_OF_DELETED_OPS and NUMBER_OF_MOVED_OPS<br>
 +
:to determine how the operation list has changed. The array variables used with the GET_NEW_OP_LIST command will<br>
 +
:contain lists of these operations.
  
 
[[Category:List]]
 
[[Category:List]]

Revision as of 14:25, 13 January 2011

Up

Command

GET_OLD_OP_LIST


Get a list of the current operations, to be used with the command GET_NEW_OP_LIST.

Use this command before you make any changes to the operation list.
After your changes, use the GET_NEW_OP_LIST command to get a list of the operations that have
been created, deleted and moved.

Parameters

No Parameters

Example

LOCAL OpsSame(1000), OpsNew(1000), OpsDeleted(1000), OpsMoveFrom(1000), OpsMovedTo(1000)

GET_OLD_OP_LIST

(make your changes to the operation list)

GET_NEW_OP_LIST OpsSame, OpsNew, OpsDeleted, OpsMoveFrom, OpsMovedTo


You can now used the variables NUMBER_OF_SAME_OPS, NUMBER_OF_NEW_OPS, NUMBER_OF_DELETED_OPS and NUMBER_OF_MOVED_OPS
to determine how the operation list has changed. The array variables used with the GET_NEW_OP_LIST command will
contain lists of these operations.