VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

An Easy OOP Script engine

Erik Stites  (10 Submissions)   Object Oriented Programming (OOP)   Visual Basic 3.0   Beginner   Wed 3rd February 2021

Simple scripting language using classes. Uses callbyname function to run a classes methods. This allows for very fast parsing, because there is no IF Then or Case statements. Create a class module with the functions that you want in your scripting 'language'. Then you can simply send a string of text into the class' parse function to get the name of the function and the values to be operated on. After you have gotten the name, use CallByName with the vbMethod operator. This is a quick class (OOP) example. To keep it simple, I didn't include properties, only public and private variables.

Returns
The result of an operation

Rate An Easy OOP Script engine (9(9 Vote))

Download An Easy OOP Script engine

An Easy OOP Script engine Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters