1
############################# Expresions ######################################
3
a = 2; b = 3; print (a b) + 4; # Prints 27 (23+4)
4
a + b; a - b; - a ; + a ; # Last for converting string to number
5
a * b; a / b; a % b # ...
6
a ** b; a ^ b # "a" raised to the "b" power
7
a = b = c = 0; # You can do so
8
a += b; a++; # And so on
9
!=, ==, >, <, <=, >= # String or Numeric Comparisons ( if 1 argument
10
# string used string comparision ( if unknown
11
# thinking that numeric ) )
12
# Numerics converted with help of "CONVFMT",
13
# to be compared with strings
15
b in a # True if Array "a" have subscript "b"
18
# for (x in foo ) print x, foo[x]
19
a[1, "a"] # Arrays, and so on ( Numeric values converted
20
# with "CONVFMT", BE WARE!)
21
# WARNING! a[1, "a"] ~ a[1"SUBSEP"a]
22
# "(b, c) in a" - works to, for example:
24
# split(x,separate,SUBSEP) ... }
25
delete a[1] # Delete element of array
26
# Main Idea will not apear in "in"
27
delete a # Deletes all elements of array
31
expr ? if_true... : if_false... # ...
33
############################# String Conversions ##############################
34
"2.5" --> 2.5 "1e3" --> 1000 "25fix" --> 25
35
"fix" --> 0 ( and at all if begins not from number then --> 0 )
37
And at all in info files string/numeric selection is very misty...
b'\\ No newline at end of file'