Lutz on the newLISP Forum helped me with the following. Pretty darn slick if you ask me! If anyone unfamiliar with LISP is interested in knowing how this code works, send me an email or private message on this board with an address to which I can send my detailed notes.

Lutz originally used "\r\n" where I now have {[NL]} (two places). I could not get it to work with the {\r\n} so I substituted [#13][#10]. Notice that within NeoBook I'm using newLISP's alternative string-quoting symbols (left and right braces) instead of double quotes which allows for much easier to embed newLISP coding in NeoBook.

Yes that was the idea. 7 lines for the problem are not to bad? I used similar algorithm for parsers at work. Using the newlisp.exe and command-parameters you can pretty automate things. By the way, running not only on WIN-maschines, they run directly under solaris on our host. It is pretty to develop and test under WIN but do daily hard work on production platforms. In newlisp you can check for OS and write the file-format for the platform. But this gets a bit off-topic.

>For the purposes of embedding LISP code within a NeoBook shell, it would be nice if I could write:

That's a question for Dave.

Of cource it's not really a problem, because I would prefer a extern editor for my lisp, because of syntax-highlighting and paranthesis checking. And we can use the extract-command to embed the source. Or you bind them in hidden objects.

Features:Action: hpwNewLispCall - Support for callbacks in return-messages into neoScript!Support-file: nb_util.lsp with usefull functions. Starts with: (nl2nb-list '("1" "2" "3"))Demo-file: neoTurtle.lsp with fractal-graphics in neobook powered by newLISP/hpwImage.Last but not least: newlisp.dll Development version 7.3.16

It contains the demo from Sam Cox (Thanks) for calculating roman numbers.

For Hanoi.lsp I have tried to measure the time in newLISP. But I don't know if it is that fast or if the neobook timer just not work as long as the DLL works in the process. I start the timer before calling the plugin and the stop is the first command in the action-string which is started with nbPlayAction.

New restart-feature for hpwNewLispCall.Now it is possible to feed commands into the neobook action-engine and get back into newlisp to generate further action-commands. So it is not necessary to compute a complete action-script at once. You can start generating in neobook and feed more commands on demand.

Action: hpwNewLispCall - Support for different callbacks in return-messages with newlisp-restart!Global var [hpwNewLispRestartCall] contains the current Lisp-call.In the first nl-restart-call [hpwNewLispRestartCall] is set by the interface and then it can be set from Lisp to call a other function.

Action: hpwNewLispCall - 1.Parameter for DLL-Path removed!Action: hpwSetNewLispDir - Set DLL-Path one time in the pub!Support for Custom-plugin commands. Definitions in file neoLISP.cmd!nb_util.lsp renamed to init.lsp which is automaticly loaded by newLISP.iSEDQuickPDF.lsp with all import functions for iSEDQuickPDF.dll from www.sedtech.comFinal release newLISP.dll 7.400

You are a magician! I will be spending the next few days playing with and understanding this wonderful gift -- newLISP itself, of course, your interface, and especially the newest feature which will allow me and others to provide NeoBook-like syntax for this new-found power.

Thank you again, and take a well-deserved break. Let's see -- according to my clock, it is now about 1:30 AM on Sunday morning in Germany. Go to bed, my friend.