Rtrue
rtrue is a predefined constant used in the Inform 6 language and its related runtimes to represent the boolean value true in certain contexts, most notably as a return value from rule routines. It is paired with rfalse, which represents false. In traditional Inform 6 programming, rules and tests can return rtrue to indicate that an action was handled or the condition succeeded, and rfalse to indicate the opposite. The two constants are used to communicate outcomes within the game's rule-processing system and map to the underlying numeric values used by the virtual machine (typically 1 for true and 0 for false).
The name rtrue reflects its role in rule-based flow control. When a rule or test function returns
In practice, rtrue and rfalse are most often encountered in library code and examples from classic Inform