|
CATEGORY: PROGRAMMING TYPE: MACRO IMS VERSION: ALL PLATFORM: ALL
All the register formatting parameters can be changed using the macro language. In this case, go to the DELAY macro and, at the start of the macro, add: !REGISTER.X.DIGIT = 3.1 Notice the ! character preceding the variable name REGISTER.X.DIGIT. This modifier before a variable means it is a one-shot change only. The value will be restored to the original value, which in this case was 4.3, upon exiting the macro. Another way to do it, which is also correct, would be to add to the start of the macro: REGISTER.X.DIGIT = 3.1 and to add at the end of the macro: REGISTER.X.DIGIT = 4.3 Another solution is that you can define the same letter address for each condition in the Register Table. For example, X@machine and X@dwell with the appropriate formats.
Back to Frequently Asked Questions
|