next up previous
Next: Arithmetic Operations Up: Expressions Previous: Boolean Operations

Type Errors

The ccli interpreter will not let you enter expressions that use types incorrectly. For example, you can not compare integers and strings as in the following:

1 = "one";
produces the error
Type error in 'example.ccl' on line 1:
  could not compare (= or !=) arguments
  1 has type integer, while
  "one" has type string
with information about what caused ccli to complain.



Eric Klavins 2003-12-03