Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

Compare variables of type "Variant"

$
0
0
Hi,

is there a possibility to compare variables of type variant?
Simple compare operations don't seem to work.
E.g.
bool := var1 = var2;
bool := var1 <> var2;
bool := var1 > var2;

Is there a way to keep this simple or do I have to check the type and EVALUATE?
In addition, is there a way to return the datatype of a variant? I don't want to do it by
IF var1.ISDECIMAL THEN ...

Thanks in advance.

Viewing all articles
Browse latest Browse all 10032

Trending Articles