User Tools

Site Tools


syntax:errorpropagation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
syntax:errorpropagation [2016/09/20 23:27] dmitrysyntax:errorpropagation [2021/01/14 19:31] (current) – removed dmitry
Line 1: Line 1:
-===== Error propagation ===== 
  
-In order to simplify debugging expressions EasyMorph employs //error propagation// in expressions. It means if some part of an expression evaluates to an error, then this error becomes the result of the expression. 
- 
-This rule applies to all [[syntax:operators]] and [[syntax:functions]] except a few: 
- 
-  * [[syntax:functions:isempty]] 
-  * [[syntax:functions:iserror]] 
-  * [[syntax:functions:isnumber]] 
-  * [[syntax:functions:istext]] 
-  * [[syntax:functions:isboolean]] 
-  * [[syntax:functions:astext]] 
-  * [[syntax:functions:asnumber]] 
- 
-Also these functions propagate errors only when 1st argument (the condition) is an error: 
-  * [[syntax:functions:if]] 
-  * [[syntax:functions:ifempty]] 
- 
-Also this function propagates errors only when 2nd argument is an error: 
-  * [[syntax:functions:iferror]] 
syntax/errorpropagation.1474428442.txt.gz · Last modified: 2016/09/20 23:27 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki