Simple Expression Parser

Category:
Dates and Math
Type:
Modules
Difficulty:
Intermediate
Author:
Jonathan Adamit

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
I've seen other Expression Parsers on this website. They are all very good, but somehow they seemed too long for me and did not operate in a way of my liking.

This is why I made one of my own. It makes plenty use of recourses, which, in my opinion makes it smaller, easier to read and more effective. I'm not saying it's better than the others, it's just the way I like it.

As you will see in the code it's easy to add more functionality to it. Also included in the code is an example of how to use the module.


Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download expeval.zip