Trapping for Cancel Answer printer

Richard Gaskin ambassador at fourthworld.com
Mon Dec 1 20:11:18 EST 2003


Alex Rice wrote:

> On Nov 30, 2003, at 12:46 PM, katir at hindu.org 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?

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 ___________________________________________________________
 Ambassador at FourthWorld.com       http://www.FourthWorld.com
 Tel: 323-225-3717                       AIM: FourthWorldInc



More information about the use-livecode mailing list