[pdp-discuss] ScriptPrjnSpec

Randall C. O'Reilly Randy.OReilly at colorado.edu
Fri Nov 17 09:10:31 MST 2006


very strange.  I don't know what is happening.  one thing you can do is go to 
interact mode, type "debug 1" and then do Connect all -- this will print out 
a trace of the css code that is being run -- hopefully that will provide some 
clue as to why it is not running.

- Randy

On Thursday 16 November 2006 10:05, Richard Jones wrote:
> I've created a ScriptPrjnSpec and written a .css script for it.  In
> the ScriptPrjnSpec editor I can point to the file, load the script,
> compile it, associate my projection with the 'prjn' variable, and run
> it in Interact mode.  All my connection patterns and weights show up
> properly in my NetViewer.
>
> However, via Interact mode is the only way I've successfully gotten it
> to run.  When I do a 'Connect All' from the NetViewer the connections
> disappear, and it doesn't look as if the script is run at all, even
> though in the debugger I see it dive into the RunScript() from
> ScriptPrjnSpec::Connect_impl(...).
>
> My script has the form:
>
>   void MakeProjection() {
>   ...
>   }
>
>   MakeProjection();
>
> How do I get the script to run properly from 'Connect All'?   Thanks.


More information about the PDP-Discuss mailing list