Ignacio,
I just looked up the definition of "WIDO_ORIG_DIST"
and it says, "distance of the local origin from the centerpoint
of the curved wall, 0 for straight walls"
It would seem that "IF WIDO_ORIG_DIST<>0 THEN"
is meant to apply to windows in a curved walls exclusively.
Peter Devlin
Agh I may have mixed it up so badly that the question itself was unintelligible. I was hoping that
IF WIDO_ORIG_DIST THEN
would give FALSE for 0 and TRUE for any other value.