ArcBasicDocs

RuntimeError

Stops the program with an error message.

RuntimeError ( message$ )

Parameters

message$
what went wrong, in words the player or programmer will understand.

Description

Stops the program straight away with an error message of your own, just as if ArcBasic had found a problem. In the editor the message is shown and the line that called RuntimeError is marked. Use it when a program meets something it can't carry on from, such as a missing level file.

See also