Wiki

Changes between Version 1 and Version 2 of ConditionalExpr

Show
Ignore:
Timestamp:
05/16/10 11:26:27 (15 years ago)
Author:
hopscc
Comment:

fix typos

Legend:

Unmodified
Added
Removed
Modified
  • ConditionalExpr

    v1 v2  
    22 
    33A conditional expression is an expression that produces a value that can be (conveniently) construed as a boolean 
    4 true or false value. 
    5 these are used directly in '''if''' and '''while''' flow control statements and the '''assert''' statement 
     4true or false value.[[BR]] 
     5These are used directly in '''if''' and '''while''' flow control statements and the '''assert''' statement 
    66 
    77Any of following can be used as conditional expressions and produce a '''boolean true''' value. 
     
    1010   * non zero char 
    1111   * not nil  
    12         * blank strings and empty collections are true (non nil) - must check .length for strings and .count for collections for checking non empty. 
     12   * blank strings and empty collections are true (non nil) - must check .length for strings and .count for collections for checking non empty. 
    1313 
    14 nillable objects (e.g nillable boolean, nillable int) test true if both non nil and non nil object is 'true' (non false or non zero) 
     14nilable objects (e.g nilable boolean, nilable int) test true if both non nil and non nil object is 'true' (non false or non zero) 
    1515 
    1616== Examples ==