weird behavior
Richard Gaskin
ambassador at fourthworld.com
Sun Feb 24 13:49:09 EST 2008
rand valentine wrote:
>>> Yes, if I remove the answer dialogue, then the script runs just fine. How
>>> does one get around this bug?
>>
>> For now:
>>
>> put the defaultStack into tSaveStack
>> answer "Really clear?" with "Cancel" OR "Yes"
>> put it into tVal
>> set the defaultStack to tSaveStack
>> IF tVal is "Yes" THEN
>> put empty into fld "notes_note" -- "notes_note"
>> END IF
>>
>>
>> For all mankind:
>>
>> It's really kinda dumb if we need to save and restore the defaultStack
>> for ask/answer dialogs. Does anyone here know the RQQC# for this issue,
>> and has it been confirmed fixed as of v2.9DP4?
>>
>
> The "for now" script offered above solves the problem. And also, I notice
> that things work fine in StackRunner, without saving the defaultStack in the
> script. Thanks.
Good to know. Now we just need to determine if the difference between
SR and Rev is the engine or the dialogs.
Which version of SR are you running?
--
Richard Gaskin
Managing Editor, revJournal
_______________________________________________________
Rev tips, tutorials and more: http://www.revJournal.com
More information about the use-livecode
mailing list