compare = BigCompare(x$, y$) 
This function compares two Big Decimal values. If the first value is less than the second then 1 is returned. If the first value is equal to the second then 0 is returned. If the first value is greater than the second then 1 is returned. For example:
Print BigCompare("5", "10")
