REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 6-Feb-2009 Edit History  

REBOL 3 Errors: cannot-use

An attempt was made to perform an operation on a value of an incompatible datatype. For instance, when attempting to add a string to a number.

Message:

["Cannot use" :arg1 "on" :arg2 "value"]

Example:

filter-error try [1 + "1"]
** Script Error: Cannot use add on string! value
** Where: 1 + "1"


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin