Tuesday, December 8, 2009

Turbo parser example

Here is a example of counting tokens from a file with Turbo parser.
Create a new VCL forms application, drop a TOpenDialog(rename it to OpenDialog) and a TButton on the form, double-click Button1 and copy-paste this code: