Skip to content

RuntimeError

Narta Xaymar Dirks edited this page Nov 1, 2026 · 8 revisions

Blitz3DBlitzPlusBlitzBasic

RuntimeError

RuntimeError:Void message:String
Parameter Mode Type Default Description
message In String required The text that describes what went wrong.

Description

Shows an error message and ends the program with a non-zero exit code. Use it for problems your program cannot recover from.

Differences

  • The message is printed as Runtime Error: ... on the standard error output, not shown in a dialog box.

Examples

If FileType("level.dat") = 0 Then RuntimeError "level.dat is missing"

Related Commands

ProfileSlow, ProfileValue, RuntimeStats, SetEnv

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally