language.operators · operator ·
-
Subtract one number from another; unary minus changes its sign.
A focused reference with a complete example. Numeric widths and experimental types still depend on the selected backend.
-Status: documented
Use -
Subtract one number from another; unary minus changes its sign.
cpu · language · operator · type checked
int baseReward = 12
int modifier = 3
int reward = baseReward - modifier
Console.Log(Text.From(reward))
project.mech
manifestVersion = "2"
package = "api.example.operator__symbol_3973e0"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
Notes and source
demonhunterlabs/app/lib/yeho-language-reference.ts