N Code Expressions
Home ] Up ] N Code Execution Model ] N Code Language ] N Code Data Types ] [ N Code Expressions ] N Code Statements ] N Code Variables and Scoping Rules ] N Code Filters ] N Code Function Definition ] N Code Tools ] N Code Triggers ]


N Code Expressions

Operators include +, -, *, /, % (modulo), ==, >, >=, <, <=, &&, || and 'inside'.

All of these are conventional, except 'inside', which is a Predicate to test whether some element exists within a list.

Precedence

There is no expression precedence, so 1+2*3+4 evaluates as 13.

Examples

echo( "hello world\n" ); => hello world
echo (1+2*3+4 ) ; => 13 (no newline)
echo ( 1, 2, 3, [ 1, 2, 3 ], "\n" ); => 123[1,2,3]
echo ( 1, 2, echo( "one" ), [ 1, 2, 3 ], "\n" );
=> one12error(user error)[1,2,3]

Back ] Home ] Up ] Next ]