Next: Examples, Previous: Temporal Functions, Up: k9: Manual
Given the terse syntax of k9, it likely won’t be a surprise that error messages are also rather short. The errors are listed on the help page and described in more detail below.
Calling a function on mismatched types.
3+`b :class
Calling a function with too many parameters.
{x+y}[1;2;3] {x+y}[1;2;3] ^ :rank
Operations on unequal length lists that require equal length.
(1 2 3)+(4 5) :length
Calling a function with an unsupported variable type.
`a+`b ^ :type
Exhausted the number of input values
-12?10 / only 10 unique value exist :domain
Exceeded a limit above the software maximum, eg. writing a single file above 1GB.
n:_100e6;d:+`x`y!(!n;n?1.);`d 2:d n:_100e6;d:+`x`y!(!n;n?1.);`d 2:d :limit
Running code that is not yet implemented. This may come from running code in this document with a different version of k9.
2020.05.31 (c) shakti
=+`a`b!(1 2;1 3) a b| - -|- 1 1|0 2 3|1
Aug 6 2020 16GB (c) shakti
=+`a`b!(1 2;1 3) =+`a`b!(1 2;1 3) ^ :nyi
Syntax is wrong. This may be due to mismatched parentheses or brackets, e.g., (), {}, [], "".
{37 . "hello" :parse
Undefined variable is used.
g / assuming 'g' has not be defining in this session :value
Next: Examples, Previous: Temporal Functions, Up: k9: Manual