Enums (Extended mode)
An Enum groups related compile-time Integer constants under one qualified name:
Enum GameState
Menu
Playing
Paused = 10
GameOver
End EnumThe first implicit member is zero and later implicit members increment the preceding value. Here Menu is 0, Playing is 1, Paused is 10, and GameOver is 11. Negative explicit values and duplicate numeric aliases are allowed.
Use period qualification:
state = GameState.Playing
If state = GameState.Paused Then ResumeGame()GameState\Playing is accepted as a compatibility alias. Members are never imported into the global namespace, different Enums may reuse member names, and Enum and custom-Type owner names may not collide.
Enum members are ordinary signed Blitz Integer constants. They work in expressions, Select/Case, Data, field defaults, parameter defaults, and constructor arguments. Enums do not add a runtime object, a narrowed storage type, flags metadata, reflection, or automatic type checking.
See the compilable Enum example.