Langur has user-settable modes. Presently, mode setting is limited to global scope, with the idea that modes should have some scope.
All modes have a default.
name | default | allowable values |
---|---|---|
divMaxScale | 33 | 0 to 2_147_483_646 |
maximum number of digits for division (has to have an arbitrary stopping point with arbitrary floating point) | ||
rounding | _round'halfawayfrom0 | _round'halfawayfrom0 _round'halfeven |
nowIncludesNano | false | true false |
whether "now" (empty date/time literals) include nanoseconds | ||
consoleText | false | true false |
conversion of line endings when reading and writing to the console | ||
newFilePerm | 8x664 | 0 to 8x777 |
name | default and allowable values |
---|---|
divMaxScale | 33 0 to 2_147_483_646 |
maximum number of digits for division (has to have an arbitrary stopping point with arbitrary floating point) | |
rounding | _round'halfawayfrom0 _round'halfawayfrom0, _round'halfeven |
nowIncludesNano | false true, false |
whether "now" (empty date/time literals) include nanoseconds | |
consoleText | false true, false |
conversion of line endings when reading and writing to the console | |
newFilePerm | 8x664 0 to 8x777 |
mode divMaxScale = 800 # sets max digits after decimal (for division) to 800
mode rounding = _round'halfawayfrom0
mode newFilePerm = 8x644
# set mode to its default mode newFilePerm = default