Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | utility | |
Module | misc | |
Tool | itemcontainer |
- myic := itemcontainer(); - if (is_defined('myic') && is_record(myic) && has_field(myic, 'type') && myic.type() == 'itemcontainer') { print 'yippee'; } else { print 'itemcontainers are not impressive enough for my work'; }
Note the use of the short cut ``&&'' operator. A statement is only evaluated if the statement to the left is true.