Exit script
Kontrol ifadesi kod yürütmeyi durdurur. Kodda herhangi bir yere eklenebilir.
Exit Script [ (when | unless) condition ]
Since the exit script statement is a control statement and as such is ended with either a semicolon or end-of-line, it must not cross a line boundary.
| Bağımsız Değişken | Açıklama |
|---|---|
| condition | A True or False olarak değerlendirilen mantıksal bir ifade. |
| when / unless | Bir exit script ifadesi, isteğe bağlı olarak when veya unless yan tümcesi kullanılarak koşullu hale getirilebilir. |
//Exit script
Exit Script;
//Exit script when a condition is fulfilled
Exit Script when a=1