On Fri, 4 Mar 2011, Moritz Schell wrote:
I wrote an expr with If-arguments in it to range values. First I tried it with 5 lines of If-arguments an everything worked fine. Than I tried to get more If-arguments into the expr to get better results BUT after 9 if-arguments everything crashes: Pd closes immediatly and when I reopen and try to change something in the expr Pd crasches again. Even if I try to erase lines out of the expr -> CRASH...
I get the same problems as well as other interesting error messages :
error: expr: ex_eval: unexpected type 0 expr: bang: unrecognized result 1931591688
Are the Objects limited to a specific number of signs/rows/arguments? Any ideas?
[expr] may have its own limitations that no-one really knows about.
I wrote a replacement for [expr] named [#expr] :
http://gridflow.ca/help/%23expr-help.html
I wrote it because I wanted to expand [expr]'s feature set to work on grid data but currently [#expr] is just a replacement for [expr] with a few more features and a few missing features.
get it at http://gridflow.ca/
make sure you get version 9.13 which fixes bugs in [#expr].
There's no expression size limit in [#expr].
There is no replacement for [expr~] nor [fexpr~].
[#expr] doesn't allow writing a trailing semicolon.
You don't need semicolons in your expression if you are just going to add the results together : just replace them by plus-signs.
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC