NOP

Perform no operation

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
NOP

Discussion

The NOP statement performs no operation and is ignored by the program. It is often used with the CASE and USING statements.

Examples

The following example uses the NOP statement where a routine that hasn’t been developed yet will be placed later.

record
    choice              ,a2
proc
    xcall getchoice(choice)
    case choice of
      begincase
"ADD":
        xcall add_cust
"DEL":
        xcall del_cust
"LST":
        xcall list_cust
"RPT":
        nop                     ;Report function not implemented yet
"UPD":
        xcall upd_cust
      endcase
    stop
end