Hi Arnaud,

> On Jan 11, 2017, at 4:42 PM, Arnaud de Montard <[email protected]> wrote:
> 
> Hi John, 
> true, very often I would scratch my head: "is it called? where?"… until 
> Vincent de Lachaux saved my hair by showing a nice use of 'Method called on 
> error' on 4dbb. Shortly, the method embeds its own error handler: simple, 
> modular, beautiful. 
> Example:


That is interesting. Historically, 4D has been very picky about return values. 
For example, you would get an error if you tried to execute a method in the 
design environment that had $0 since the return value was not consumed. I think 
this went away in version 14 or 15.

But it still does not help with the most needed case: EXECUTE METHOD.

Thanks,

John DeSoi, Ph.D.

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to