Special RPG IV functions
There are some functions especially designed to be used on RPG IV sources:
- Send data defintions to the D-spec. With the command 'S' you can send a fielddefinition that you've created in the C-spec to the D-spec. When you have used the *Like Define command, the statement will be deleted, otherwise only the definition will be removed from the C-spec.
C Z-add *Zero W@numb 15 5 NumberWill result in D-specs:
* Program defined fields D W@numb S 15 5 NumberAnd C-Spec
C Z-add *Zero W@numb Number
- With one single command you can translate a RPGIII-like statement to a RPGIV-like statement. For instance:
300 Add 500 W@NUMB Move '1' *INLR NUMB1 Ifeq NUMB2will translate into Eval W@NUMB = 300 + 500 Eval *INLR = *ON If NUMB1 = NUMB2etc.
- Editor/400 will translate your opcodes to a standard layout, all capitals or only the first character a capital and the rest lower case:
EVAL or Eval
ENDIF or Endif