PDA

View Full Version : thinBasic language/Script structure/Execution directives/#DEFAULT



Petr Schreiber
07-11-2007, 22:16
Hi Eros,

just details, but we want thinBASIC perfect, don't we ? :)

Under thinBasic language/Script structure/Execution directives/#DEFAULT

BOUNDCHECK


This execution directive switch ON or OFF array bound checking. Default thinBasic behave is ON.
Default behave is ON.

... duplicated information

PARAMETERS


This execution directive change the way undefined passing parameters are interpreted in case of no explicit parameter passing method (ByRef or ByVal).
Default way if BYVAL.

... should be "is" ?

DECLARE CheckDuplicates, DECLARE CheckMissing


Set how DECLARE statement control duplicated sub or functions names.

... should be "controls", "function" ?


Thanks,
Petr

ErosOlmi
07-11-2007, 23:34
All done. Thanks

Michael Clease
08-11-2007, 01:56
#DEFAULT keyword is used to change default thinBasic behave. It is followed by the behave name and possibly by the new default option.

should be "behaviour"


This execution directive change the way undefined passing parameters are interpreted in case of no explicit parameter passing method (ByRef or ByVal).
Default way if BYVAL.


"s" missing from change and I would say "Default method is BYVAL"