by Joe Maller on 2 Nov, 2003 19:43, Applies to: FCP 4.0.2 from:
Any non-zero value will evaluate as true if used by itself in an if statement. In the following example, any value for x other than zero will trigger the conditional action:
Authors own their submissions and grant full use rights to the site owner.
Commercial reproduction is prohibited without prior written permission (please ask first).
The FXScript Reference is an independent resource, created and funded through user contributions and my wallet. If you find the site useful, please donate to help keep this unique resource online.
Any non-zero value will evaluate as true if used by itself in an if statement. In the following example, any value for
xother than zero will trigger the conditional action:float x;
x = 5;
if (x)
...
end if