ANN: LiveCodeErrors for iPhone

Mark Schonewille m.schonewille at economy-x-talk.com
Tue Jul 19 19:26:20 EDT 2011


Sure, Richard, it is clear that you won't buy that app. Others will, already did, and I'm glad I was able to provide them with something useful.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce

On 20 jul 2011, at 01:21, Richard Gaskin wrote:

> Mark Schonewille wrote:
> 
>> Hi Chipp,
>> 
>> Weird. I would expect all pros to know about it.
>> 
>> I'd say, give it a try. execute the following script
>> 
>> on foo
>>  try
>>    executeNonExistingHandler
>>  catch myErr
>>    put myErr
>>  end try
>> end foo
> 
> I doubt many pros would need a lookup to figure out that a non-existent handler would result in a "can't find handler" error. ;)
> 
> But seriously, most devs using try/catch setups won't be executing random code, they'll be working on things that are somewhat well defined, and use their own error messages to report to the user.  I don't know of any dev who report RunRev's messages to their users; they just don't provide enough guidance for the user.
> 
> Those so inclined can just use the same list everything else in the LiveCode world uses, the one RunRev provides for us in their revErrorDisplay stack:
> 
>   get line (item 1 of tErr) of the cErrorsList of cd 1  \
>     of stack "revErrorDisplay" into tList
> 
> 
> Section 10.4 ("Custom Error handling") of the LiveCode User Guide covers this well.
> 
> --
> Richard Gaskin
> Fourth World
> LiveCode training and consulting: http://www.fourthworld.com
> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list