Search Tools Links Login

An Easy OOP Script engine

Visual Basic 6, or VB Classic

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.

Original Author: Erik Stites


The result of an operation

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 108 times


Visual Basic 6

Posted: 9/3/2020 3:45:00 PM
Size: 3,495 bytes

Loading Comments ...


No comments have been added for this post.

You must be logged in to make a comment.