>Date: Fri, 28 Jul 2000 13:22:39 -0700
>From: Jim Anderson <jiman@microsoft.com>
>
> I'm using the Windows version of NTK, and I want to add a deletion
>script to an app. I've added a text file containing this code:
>
>SetPartFrameSlot('deletionScript, func()
>begin
> foreach store in GetStores() do
> if s:HasSoup("ObStrat:NarcFish") then
> s:GetSoup("ObStrat:NarcFish"):RemoveFromStoreXmit
>('|ObStrat:NarcFish|);
>end);
>
> When I scrub the app, though, the deletion script doesn't get
>called. I'm pretty sure I've written the code correctly. Is there something
>else I need to do to get this to work?
have you tried running with NTK Inspector turned on -- to see possible
error messages?
one likely problem is that you're using foreach store but undeclared s as
actual variable?
Steve
weyer@kagi.com
NewtDevEnv, Newt's Cape, Sloup, Crypto,...
http://members.bellatlantic.net/~sweyer/newton/index.htm
http://www.kagi.com/weyer
***************************************
NewtonTalk brought to you by:
EVOTE.COM -- the ESPN of politics on the Internet! All the players, all the news, and the hottest analysis and features (plus 'toons!) anywhere.... visit http://www.evote.com today!
***************************************
Need Subscribe/Unsubscribe info?
Visit the NewtonTalk section at http://www.planetnewton.com
This archive was generated by hypermail 2b29 : Tue Aug 01 2000 - 06:50:09 CDT