WMLScript abort() fonksiyonu
abort() fonksiyonu WMLScript'i durdurur ve bu scriptin çağrıcısına bir mesaj döner.
Gramer
Lang.abort(text)
Bileşen | Açıklama |
---|---|
text | Bir dizi. |
Örnek
var errtxt = "Illegal value"; Lang.abort("Error in function: " + errtxt);
Sonuç
The script is aborted, and the string "Error in function: Illegal value" is returned to the caller of the script.