Reserved words🔗
The identifiers listed in Table 1 are reserved words and their usage is strictly limited. Here are some examples where they cannot be used:
-
As variable names
global := 55 // doesn't work! -
As key in static dictionary expressions
X := dict // doesn't work! -
As thread id in
par_start
par_start<global>: tuple_div(3, 2, Out) // doesn't work!
| abs | acos | acosh | and |
| asin | asinh | assign | assign_at |
| atan | atan2 | atanh | band |
| bnot | bor | break | bxor |
| case | catch | cbrt | ceil |
| chr | chrt | comment | constant |
| continue | cos | cosh | cumul |
| default | deg | deviation | dict |
| else | elseif | endfor | endif |
| endswitch | endswitch | endtry | endwhile |
| environment | erf | erfc | exit |
| exp | exp10 | exp2 | export_def |
| fabs | false | find | find_first |
| find_last | first_n | floor | fmod |
| for | from | gen_tuple_const | global |
| HNULL | hypot | H_FLOAT32_EPSILON | H_FLOAT32_MAX |
| H_FLOAT32_MIN | H_FLOAT32_MIN_POSITIVE | H_FLOAT64_EPSILON | H_FLOAT64_MAX |
| H_FLOAT64_MIN | H_FLOAT64_MIN_POSITIVE | H_FLOAT_INFINITY | H_FLOAT_NAN |
| H_FLOAT_NEG_INFINITY | H_INT32_MAX | H_INT32_MIN | H_INT64_MAX |
| H_INT64_MIN | H_INT_MAX | H_INT_MIN | H_MSG_FAIL |
| H_MSG_FALSE | H_MSG_TRUE | H_MSG_VOID | H_TYPE_ANY |
| H_TYPE_HANDLE | H_TYPE_INT | H_TYPE_MIXED | H_TYPE_REAL |
| H_TYPE_STRING | if | ifelse | import |
| insert | int | inverse | is_handle |
| is_handle_elem | is_int | is_int_elem | is_mixed |
| is_nan_elem | is_number | is_real | is_real_elem |
| is_string | is_string_elem | is_valid_handle | join |
| last_n | ldexp | lgamma | log |
| log10 | log2 | lsh | max |
| max2 | mean | median | min |
| min2 | not | number | or |
| ord | ords | par_join | par_start |
| pow | rad | rand | real |
| regexp_match | regexp_replace | regexp_select | regexp_test |
| remove | rep | repeat | replace |
| rep_elem | return | round | rsh |
| select_mask | select_rank | sem_type | sem_type_elem |
| sgn | sin | sinh | sort |
| sort_index | split | sqrt | stop |
| strchr | strlen | strrchr | strrstr |
| strstr | str_distance | str_first_n | str_last_n |
| str_replace | subset | sum | switch |
| tan | tanh | tgamma | throw |
| true | try | type | type_elem |
| uniq | until | while | xor |