Re: Delphi: custom syntax checker

Posted by Jenny on June 27, 2006

In Reply to How to write a custom syntax checker? posted by MMuler on June 21, 2006

: Hello, I'm trying to write a syntax checker for an application that needs to check a source like: OPW+HYF+TXTWRD$HIGHT$LENGHT$MATCH+HSTNME^

: Terminator string = ^
: Separators = $ or +

: Any idea how to start it?

: Thanks in advance...

Is the code that you want to check already in memory, such as in one long string, or in a stringlist? Or should your app have to read the code from a file?
In case that it's in a file, is every line terminated with a CR/LF (carriage return/linefeed) such as in a normal text file?

Jenny

Related Articles and Replies