> From: Ray Wurlod
> Len(Convert(@AM:@VM:" ", "", DynamicArray)) = 0

Exactly.
Len(X) is cheaper than (X="").
Furthermore, since all parts of the double concatenation
   @AM:@VM:" "
are constants, both those operations get evaluated by the compiler and
the single hardcoded resultant string makes it into the object code.
So there aren't runtime concatenation operations.  This is true for UV
Basic compiler, but not for I-descriptors. Don't know about UD.

For that matter, the EQ operation in
   Len(...) = 0
may be unnecessary since Len(...) can be treated as either true or false
all by iteslf.


Sure, hardware is cheap, but you might as well be efficient when there's
no downside.

cds
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to