false (value)
The false value is a boolean "zero". It is the only alternative of the boolean true. Data and Methods can use the value false as a test or flag value.
Suppose we want to attach the image pointer image to a CImage object I. The following script tests whether Attach was successful:
|
-- returns true if image is attached. |
|
-- Exit if bSuccess is false |
Alternatively, the same result may be obtained by simpler, more compact code that does not test against false:
|
-- returns true if image is attached. |
|
-- Exit if bSuccess is false |
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.