🐐 SEMEN
This commit is contained in:
@@ -221,12 +221,14 @@ Vnlike many other programming languages with modules, the modules in `CENTVRION`
|
||||
### FORS
|
||||

|
||||
|
||||
The `FORS` module allows you to add randomness to your `CENTVRION` program. It adds 2 new built-in functions: `FORTIS_NVMERVS int int` and `FORTIS_ELECTIONIS ['a]`.
|
||||
The `FORS` module allows you to add randomness to your `CENTVRION` program. It adds 3 new built-in functions: `FORTIS_NVMERVS int int`, `FORTIS_ELECTIONIS ['a]`, and `SEMEN int`.
|
||||
|
||||
`FORTIS_NVMERVS int int` picks a random int in the (inclusive) range of the two given ints.
|
||||
|
||||
`FORTIS_ELECTIONIS ['a]` picks a random element from the given array. `FORTIS_ELECTIONIS array` is identical to ```array[FORTIS_NVMERVS NVLLVS ((LONGITVDO array)-I)]```.
|
||||
|
||||
`SEMEN int` seeds the random number generator for reproducibility.
|
||||
|
||||
### FRACTIO
|
||||

|
||||
|
||||
|
||||
Reference in New Issue
Block a user