← All examples

Uses case

shout is case-insensitive (case.any [fn, struct, field, const]; in its strike.zg), so this strike reaches its names in any case, with the path and bare.

uses_case/strike.zg
# `shout` is case-insensitive (`case.any [fn, struct, field, const];` in its `strike.zg`), so
# this strike reaches its names in any case, with the path and bare (owner, 2026-10-06).
MAIN {
    print.useful[shout::SHOUT["hey"], " ", WHISPER[], " ", shout::'VOLUME', newln];
    let 'l' := shout::LEVEL[LOUD = true];
    print.useful['l'.loud, newln];
}
Output
hey! psst, volume 11! 11
true