Please enable JavaScript to view this site.

thinBasic Help Manual

* * HELP & MANUAL PREMIUM PACK 4 DEMO VERSION * *

This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.

This version is copyright and may only be used for local testing purposes. It may not be distributed.

Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.

 

cTokenizer

 

cTokenizer is a class that implements a fast string tokenizer.

 

How to use cTokenizer

 

Inside your script, before calling any module specific keyword, add the following:

 

USES "Tokenizer"

 

This directive will load the Tokenizer module. The module will add all the needed features into current script execution.

 

Then a variable must be declared and instantiated in this way:

 

  '---Declare a new tokenizer engine

  Dim MyParser As cTokenizer

 

  '---Instantiate new tokenizer

  MyParser = New cTokenizer()

 

Declaration just allocate a new variable in the stack.

Instantiation let new variable takes life calling it's internal creation method (if needed).

 

Created with Help+Manual 8 and styled with Premium Pack Version 4 © by EC Software