abort

The "abort" statement stops execution of the thread that it is located in. it also optionally displays a modal alert on the app, that stays there until the user clicks "ok". It takes a single parameter (message) giving the text of the alert message to display. It may also optionally take one or more additional parameters that will be converted to strings and then concatenated, allowing you to build complex messages without using a concat() operation. Server Side AND Client Side

Format:

abort(message [,part1] [,part2] [,...] )
 

Parameters:

Parameter Type Description
message string The message is usually a string, but can be any type that can easily be converted into a string, such as a number.
partN mixed  [Optional]one or more additional parameters may be included that will be concatenated

Examples

 abort("a is an illegal value")
 abort("a is an illegal value:", a)