-
Minron
hello...
i'm using a mac with pd-extended with the addition of pdj, gridflow...i've been at PD for about a week...
i've been able to install and use the pdj library...
i've been playing with the examples...here's the question: what are they types allowed for inputs for both javascripts and java?
namely, i'm getting "error: pdj: don't know how to handle atom! type=5" when reading in a text file that has a line that has commas... so, does anyone know what type 5 is?
thanks.
-
Minron
...follow up.
looking at the 'type_handler.c' in pdj-0.8.7 source code, the function "atom2jatom" seems to have a dispatch for 'null', 'symbol', and 'float'... the error mention previously is the default case (line 99).
the failure is from sending the following message:
[list var features = "item1=x,item2=y,item3=z"(
that was a static message in a pd-file...when the pd file was closed and opened, the message was changed to add spaces after each comma, as in:
[list var feature = "item1=x, item2=y, item3=z"(based on this change, it would seem that the type=5 issue might be an array...? so, why doesn't the other function "jatoms2atoms" get invoked? isn't that supposed to handle arrays?
interesting...