Pascal Game Development
 

Pascal Gamedevelopment Library : Snippet1

PgdLib :: Categories :: PageIndex :: RecentChanges :: Login/Register

Revision [272]

Last edited on 2009-06-06 18:13:28 by AthenaOfDelphi
Additions:
[[http://www.pascalgamedevelopment.com/PGDLib/CodeSnippets Back to snippets]]


Revision [271]

Edited on 2009-06-06 18:12:31 by AthenaOfDelphi
Additions:
type
TStringArray = array of string;
This tokeniser breaks the incoming string at numerous separators as defined in the IF under the comment 'Look for separators'. When you've done with the returned string array simply use 'finalize' to clean it up. Whilst the code doesn't handle wide chars, by changing the incoming string parameter 'src' and the variables 'achar' and 'charptr' to their wide equivalents, it should work just fine.
Deletions:
This tokeniser breaks the incoming string at numerous separators as defined in the IF under the comment 'Look for separators'.


Revision [270]

The oldest known version of this page was created on 2009-06-06 18:09:13 by AthenaOfDelphi
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
 
 
Page was generated in 0.0140 seconds