Navigation:  thinBasic language > Script structure > Execution directives > #DEFAULT >

DECLARE CheckMissing

Previous pageReturn to chapter overviewNext page

 

Description

 

Set how DECLARE statement controls missing sub or function names inside external DLLs.

 

Syntax

 

#DEFAULT DECLARE CheckMissing {%TRUE | %FALSE}

 

Returns

 

None

 

Parameters

 

Remarks

 

When an external function is declared, thinBasic checks that the function is present in the external library. If function does not exists or name does not match, a runtime error is generated.

 

If %TRUE, missing function or sub names will generate a runtime error.

If %FALSE, missing function or sub names will not generate a runtime error.

 

Default value is %FALSE, missing functions or subs will generate a runtime error.

 

Restrictions

 

See also

 

Examples

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com