This is from the help file about the function LOG:
-------------------------------------------------------------------------------
"  LOG   function
  Syntax : LOG(argument,[argument2])
  It returns the logarithm.
  As argument2 is not being given the course logarithm is then returned.
  Example:
  DIM X AS DOUBLE
  X=log(10)
  X has now the value 2,3 
  X=log(10,100)       X=10log100
  X has now the value 10"
-----------------------------------------------------------------------
But the result of X=log(10,100) is not 10. It is 2 !!!
regards
Fazer