Tokenizer_Default_Set

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Tokenizer >

Tokenizer_Default_Set

 

Description

 

Change all the chars present into sCharList default group.

 

Syntax

 

Tokenizer_Default_Set(sCharList, MainType)

 

Returns

 

None.

 

Parameters

 

Name

Type

Optional

Meaning

sCharList

String

No

A string containing all the chars to change default group

MainType

Numeric

No

Group to insert chars into

 

Remarks

 

During startup, Tokenizer module set each ASCII table chars to a specific default group. With this function you can change default group for each 255 ascii chars.

For example "$%#" char by default belongs to Delimiter group. To change it to belong to Alphabetic group use the following:

 

Tokenizer_Default_Set("$%#", %TOKENIZER_DEFAULT_Alpha)

 

Restrictions

 

See also

 

Examples