Gtype() is extended version of the function getType. Gtype() can determine some types which are not included in the function gettype(): integers, real numbers, complex numbers, complex expressions and complex variables. New additional types are: "CEXP" complex expression "CNUM" complex number "CVAR" complex variable (only in Rectangular or Polar Complex Format) "INT" integer "REAL" real number The comparison of these functions is given in the next table: expression gettype(expression) gtype(expression) ------------------------------------------------------------------------- 0, -100, 3. "NUM" "INT" 2.57, 7/3 "NUM" "REAL" pi, 2^(1/2) "EXPR" "REAL" 7-2i "EXPR" "CNUM" x+5, sin(2k*pi) "EXPR" "EXPR" x+5i, e^(x_) "EXPR" "CEXP" x "NONE" or "VAR" "VAR" x_ "NONE" or "VAR" "CVAR" or "VAR" Other types are identical for both functions. Primoz Pirnat