VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



An Easy OOP Script engine

by Erik Stites (10 Submissions)
Category: Object Oriented Programming (OOP)
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (8 Votes)

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.

Code Returns
The result of an operation

Rate An Easy OOP Script engine

Download An Easy OOP Script engine

Download An Easy OOP Script engine (3 KB)

An Easy OOP Script engine Comments

No comments have been posted about An Easy OOP Script engine. Why not be the first to post a comment about An Easy OOP Script engine.

Post your comment

Subject:
Message:
0/1000 characters