| |
Make procedure or loop stop
1. Implement endless while loop
- Select "Application" tab.
- Type below script on the editor.
| |
clear
while(true)
{
d1 = Util.Now()
print "Current Date & Time is " + d1
wait 1000 //wait 1 sec
}
| |
|
|
|
|
- Click "Send to MF Application" button or Press "F5" key.
- Executed result:
2. Make stop procedure or loop
- In order to make running procedure or loop stop, use "stop" command.
- Type below script on the editor.
- Click "Send to MF Application" button or Press "F5" key.
- Executed result:
- "stop" command set flag internally to make all running procedures and loops stop.
|