@Compare
Syntax
@Compare(PAR1;PAR2);
@Compare(PAR1;PAR2;OPTIONS1);
Description
comparisont PAR1 and PAR2 for binary identity. They may be of any data type. If they are identical, the result is TRUE ansonsten FALSE.
NOTE:
Variables of different types can also be compared, because only the binary content is relevant.
With the second form (three parameters), special comparisons can be performed. For example, by using TEXT OPTIONS1 = "R" can zwei Rich-Text variables the larger as 64kB are to identity compared be.
Example: @Compare(PAR1;PAR2)
PAR1:="12";
PAR2:=@FloatToNumber(12849);
@Compare(PAR1;PAR2);
returns 1
The two variables used are identical at the binary level; their variable type does not matter for the comparison.
Example: @Compare(PAR1;PAR2;OPTIONS1)
@Compare(HRT1;HRT2;"R");
Compares the two large RichText variables HRT1 and HRT2 for identity.
Note : This text was machine-translated and may contain inaccuracies.
