current/this stack changes and doesn't reset when calling custom dialog

Dr. Hawkins dochawk at gmail.com
Sat Oct 3 16:27:57 EDT 2015


I created my own dialog for a variety of reasons, but get different
behavior than when using ask

In

put the name of this stack

answer "should i" with "yes" or "no"

put it into theRes

put the name of this stack


the stack doesn't change.  However

put the name of this stack

put dhbkAnswer( "should i" ,, "yes no")

put it into theRes

put the name of this stack


chances the context/ value of "this stack"

dhbkAnswr() calls a modal stack with custom buttons.

Do I need to do some push/pop or some such?  And if so, can it be in
dhbkAnswr() rather than repeated every time?  Can I "set" the value of
"this stack"?
-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462



More information about the use-livecode mailing list