You could also make a sort of lex thing where your function reads from a string or even a stream and looks for patterns, and when it does it you could have it do something.
String tokenizer
BlitzMax Forums/BlitzMax Programming/String tokenizerThe forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.