For the complete documentation index, see llms.txt. This page is also available as Markdown.

Definitions

define replaces a readable name with a compile-time integer expression and uses no runtime variable slot:

define MAX_MODES = 4;
define HALF_SCALE = 100 / 2;
define MENU_CHORD = PS5_L2;

Use definitions for immutable scalar values. A definition cannot depend on runtime state or a runtime function.

Last updated