Quit method

Command group Flag affected Reversible Execute on client Platform(s)
Methods NO NO YES All

Syntax

Quit method return-value

Description

This command quits the current method and returns control to the calling method, if any. If you supply a return-value, the command returns this value to the calling method.

Example

# Prompt the user to quit Omnis
Yes/No message {Do you want to quit Omnis?}
If flag true
  Quit Omnis (Force quit) ## closes all instances and tasks, then quits Omnis
End If