Navigation: thinBasic language > Script structure > Execution directives > #DEFAULT > DECLARE CheckDuplicates |
|
Description
Set how DECLARE statement controls duplicated sub or function names.
Syntax
#DEFAULT DECLARE CheckDuplicates {%TRUE | %FALSE}
Returns
None
Parameters
Remarks
If %TRUE, duplicated names will generate a runtime error.
Default is %FALSE. First declared name will have higher priority.
Restrictions
See also
Examples
'--------------------------------------------------------------------
'--------------------------------------------------------------------
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |