🐐 Modulo
This commit is contained in:
@@ -38,6 +38,8 @@ Strings are concatenated with `&`:
|
||||
|
||||
`NVLLVS` coerces to an empty string when used with `&`. Note: `+` is for arithmetic only — using it on strings raises an error.
|
||||
|
||||
Integer modulo is `RELIQVVM`: `VII RELIQVVM III` evaluates to `I`. Under the `FRACTIO` module it returns a fraction, so `IIIS RELIQVVM IS` is `S` (i.e. 1/2).
|
||||
|
||||
### Integers
|
||||
Integers must be written in roman numerals using the following symbols:
|
||||
|
||||
@@ -92,7 +94,7 @@ If-then statements are denoted with the keywords `SI` (if) and `TVNC` (then). Th
|
||||
Will return `I` (1), as the conditional evaluates `x` to be true.
|
||||
|
||||
### Boolean expressions
|
||||
In conditionals, `EST` functions as an equality evaluation, and `MINVS` (<) and `PLVS` (>) function as inequality evaluation.
|
||||
In conditionals, `EST` functions as an equality evaluation, `DISPAR` as not-equal, and `MINVS` (<) and `PLVS` (>) function as inequality evaluation.
|
||||
|
||||
### ALVID
|
||||
|
||||
|
||||
Reference in New Issue
Block a user