Dear Markus,
some answers here:
-
om<> is like using (and (< x y1 ) (> x y2)) so yes somehow depending your needs. Again it is difficult to answer without any example…
-
It is PARTIALLY possible, since version 6.18. Partially because for the time being, unfortunately if the patch contains, either: an omloop, another patch, or a lambda function, you will have a partial code. This is ok:
This is “obscure”:
the “g9317” represents the omloop. So you don’t have the complete code. Beside this, if you need to code it in CL, it would be different from the graphical code, to be efficient, you should re-write the code, omitting repetitive calls, etc.
For instance, in the first example the code generated is:
(list (progn (loop for i from 1 to 10 collect (om-random 0 10))) (arithm-ser 0 10 1))
but you don’t need the progn macro here you can code it simply like:
(list
(loop for i from 1 to 10 collect (om-random 0 10))
(arithm-ser 0 10 1))
So my advice: learn CommonLisp…
Best
K