true (value)
The true value is a boolean type value that is non-zero. It is the only alternative of the boolean false. Both data and methods can use the value true as a test or flag value.
Suppose we want to attach the image pointer image to CImage object I. The example below shows 2 equivalent ways to test the returned value:
|
-- returns true if the image is attached. |
|
-- exit if bSuccess is not true |
Alternatively, the same result is accomplished by the following code:
|
-- returns true if the image is attached. |
|
-- exit if bSuccess is not true |
Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.