Hi all,

I'm trying to play with NetLogo:
from Picolisp/Ersatz.

I managed to create a working .java with an empty NetLogo model,
but am stuck at translating this file to Picolisp. The .java is here:

In fact the main problem may be the classpath. Whatever I try in
the pil script, adjusting the -cp option to the `java` call, I get this error:

java.lang.ClassCastException: PicoLisp$NilSym cannot be cast to PicoLisp$Symbol

At this line:

(java Import org.nlogo.lite.InterfaceComponent)

Is it the right way to do this?
Is there something I must know in order to import from a .jar
in Ersatz?



http://profgra.org/lycee/ (site pro)
http://delicious.com/profgraorg (liens, favoris)
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to