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

REBOL 3 Errors: dup-vars

A function was evaluated that had multiple occurrences of a word defined in its specification block. For instance, if the word arg was defined as both argument one and two.

Message:

["Duplicate function value:" :arg1]

Example:

filter-error try [f: func [a /local a][print a]]
** Script Error: Duplicate function value: a
** Where: func [a /local a] [print a]


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