Trace keyword/property

Jan Schenkel janschenkel at
Fri Dec 5 13:32:07 EST 2003

--- Thomas J McGrath III <3mcgrath at>
> Jan,
> Although send "openStack" to this stack worked I
> still don't know why 
> it won't work as in the script below.
> I want to see the script run as the stack is opening
> and not after it 
> has opened by doing this. I am not getting a true
> representation of 
> what is really happening when the script opens.
> I am afraid that I have OpenCard in the stack and in
> the card and 
> somehow they are overriding each other. I want to
> see this as it is 
> happening to be sure.
> Any idea why setting a break point does not work the
> first two ways you 
> described???
> Thanks
> tom

Hi Tom,

If your card has an 'openStack' handler too, and you
want the handler of the same name in the stack script
to run, you must 'pass' it in your card script :
on openStack
  # do all sorts of card-specific things
  # ...
  # when you're done, pass the message
  pass openStack
end openStack

Hope this helped,

Jan Schenkel.

"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)

Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

More information about the Use-livecode mailing list