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 NOT generate a runtime error.

 

Restrictions

 

See also

 

Examples