Const

Declares a constant value that cannot be changed after initialization

Keywords

Parameters & Returns

Parameters

This function takes no parameters.

Returns

Void

Quick Summary

Declares a constant value that cannot be changed after initialization

Technical Exegesis...

Declares a constant value that cannot be changed after initialization. Syntax is Const name:Type = value. Constants must be initialized with a value at declaration and cannot be modified afterwards. Typically used for values that shouldn't change, like configuration settings, mathematical constants, or fixed game parameters. Constants have global scope.

Example

Example.bam
; No example implemented yet