Navigation: thinBasic Modules > Tokenizer > Tokenizer_Default_Code |
|
Description
Change a char default group giving char as ASCII code.
Syntax
n = Tokenizer_Default_Code(AsciiCharCode, MainType)
Returns
Number. %TRUE if all ok.
Parameters
Name |
Type |
Optional |
Meaning |
AsciiCharCode |
Numeric |
No |
A single char string |
MainType |
Numeric |
No |
Group to insert char code 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. T0 change it to belong to Alphabetic group use the following:
Tokenizer_Default_Code(36, %TOKENIZER_DEFAULT_Alpha)
Restrictions
See also
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |