DECLARE CheckMissing

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > Script structure > Execution directives > #DEFAULT >

DECLARE CheckMissing

 

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