Trapping for Cancel Answer printer

Robert Brenstein rjb at
Tue Dec 2 19:44:48 EST 2003

Okay, let me try to rephraze that rule: system and rev (official) 
dialogs return content in it but the button clicks or error in the 

>Well, choosing "Cancel" in a system dialog box would return 
> on user selection is consider "error data" 
>but "Cancel" is passed to "the result," not "it"  for "answer 
>So, if there is a "general rule" its not that which you propose.
>It would be good to now what it is...
>On Dec 1, 2003, at 3:11 PM, Richard Gaskin wrote:
>>Alex Rice wrote:
>>>On Nov 30, 2003, at 12:46 PM, katir at wrote:
>>>>This is either a bug, where for use of  "answer printer" Rev should
>>>>pass the result to "it" or needs more documentation if the globally
>>>>expected engine behavior is for anything from the system to *not* be
>>>>in "it" but be passed via the result, which is also logical. Old time
>>>>xTalkers may take that for granted, newbies will stumble
>>>As Ken confirmed, the solution is to check the result, not "it". I
>>>think the docs reflect that.
>>>As a relative new xtalker I have sometimes been confused when sometimes
>>>"it" is called for, and sometimes "the result". Is there any general
>>>rule to be aware of?
>>As a very general rule, "the result" is used for error info while "it"
>>contains data.
>>Are there other exceptions to this?
>use-revolution mailing list
>use-revolution at

More information about the Use-livecode mailing list