Navigation:  thinBasic language > Script structure > Execution directives >

#DEFAULT

Previous pageReturn to chapter overviewNext page

 

Description

 

#DEFAULT keyword is used to change default thinBasic behave. It is followed by the behave name and possibly by the new default option.

 

The following is the list of supported behaves:

 

Name

Meaning

PARAMETERS

change how function parameters are passed

BOUNDCHECK

switch ON or OFF array bound checking

DECLARE CheckDuplicates {%TRUE|%FALSE}

set how DECLARE statement checks duplicates declarations

DECLARE CheckMissing {%TRUE|%FALSE}

set how DECLARE statement checks if declared function or sub is missing or not in external DLL