À (At) 15:08 +0100 13/12/02, Thomas Tempelmann écrivait (wrote) :
>Now, I'd like to do a little NewtonScript programming but can obviously
>not use the debug "print" function for tracing what's going on.
I think that NewtDevEnv lets you log print calls. And ViewFrame might
be able to do it as well.
>Can someone give me the code for creation
>of,
DefGlobalVar('|log stuff|, []);
>clearing of
UndefGlobalVar('|log stuff|);
>and adding to the global var?
AddArraySlot(GetGlobalVar('|log stuff|), someObject);
If it becomes really big, I suggest caching that to a store entry or
maybe a soup.
Paul
-- NPDS: http://newton.kallisys.net:8080/ Apache: http://www.kallisys.com/-- This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries List FAQ/Etiquette/Terms: http://www.newtontalk.net/faq.html Official Newton FAQ: http://www.chuma.org/newton/faq/
This archive was generated by hypermail 2.1.2 : Wed Jan 01 2003 - 10:02:22 EST