DR. KUHLMANN Software

NikiProcessor

The NikiProcessor calculates expressions and stores values.

Example

---define $five        = 5
---define $My_Name     = 'Heiner'
---define $ten_string  = :$five: + :$five:
---define $ten        := :$five: + :$five:

The value of the variable $five = :($five): and the square of 10 is :( :$ten: **2 ).
My name is *:( :$My_Name: . ' Kuhlmann'      ):*.

But this is not the expected result:
^^:$ten_string: ** 2^^ = :$ten_string: ^^** 2^^ =
:( :$ten_string: ** 2 ):, although it is correct ;-)

Using an undefined variable yields an :$undefined_variable:.

The result is:

The value of the variable $five = 5 and the square of 10 is 100 . My name is Heiner Kuhlmann.

But this is not the expected result: :$ten_string: ** 2 = 5 + 5 ** 2 = 30, although it is correct ;-)

Using an undefined variable yields an ERROR('undefined_variable').

The definition

  ---define $error := :( :$five: + :$five: ):

would raise an error message unfortunately in a help Niki :-(



generated by Niki