The nop statement does nothing (no operation).
The nop statement does nothing (no operation). A procedure can use the nop statement as a placeholder or to delay for a short time.
This procedure will delay exactly 10 seconds.
local startTime startTime=now() loop nop until now()>startTime+10
Another use for the nop statement is to fool Panorama into not displaying a warning dialog. When used as the last statement in a procedure, or just before a stop statement, statements like quit and closefile will ask the user if they want to save changes. By adding a nop statement you can prevent this alert from appearing.
if info("trigger") contains "Close w/o Save" closefile nop stop endif
|10.0||No Change||Carried over from Panorama 6.0.|