REFMAN

Statements

Semicolon (;) - Statement separator. E.g.,

statement1 ; statement2

At sign (@) - Statement separator. Reverses statements. E.g.,

statement1 @ statement2

is the same as

statement2 ; statement1

Arrays

[element0, element1, ..., elementN-1] is an N-element array. Array indices are 0-based.

[start:end:step] is the array of integers from 'start' to 'end' in steps of 'step'

[start..end] is the array of integers from 'start' to 'end'

start--end is also the array of integers from 'start' to 'end'

Primary expressions

In the following descriptions, capital letters A,B are primary expressions that evaluate to arrays. M,N,S evaluate to integers. C and D are conditional expressions that evaluate to true/false. P and Q are floating point numbers from 0 to 1. R is a floating point number. V is the value of any primary expression. G, H are expressions used as functions. U is a variable id.

Built-ins may be entered as all caps, all lowercase or Capitalized: PROB, prob and Prob should all work.

Built-ins

Dice expressions

Array/object expressions

Evaluation

Arithmetic

Conditional expressions

Sampling expressions

Assignment

Special variables

System Commands



AUTHORS BUGS DISCUSSION LICENSE NAME NEWS README SOURCE TODO TRY VERSION

Last update: Fri Sep 23 2016