Well, the class 'thing' came about when I was looking at the msi database package download that I got from JSware.com. I gave a link to its page in an earlier post.
It came with an editor and a few Vbscripts that had various subs and functions on it. They were surrounded by the term Class and End Class. Then the help file that came with it said that all you needed to do was link your script via ExecuteGlobal and also add Set MB = New Mbase to your heading. Afterwhich all you needed to do is use a line of script like MB.GetAllValues(Bla, Bla, Bla) to access and do whatever to the database you were working with.
In otherwords a 'Class' was set up so that I could do complicated scripting by using only simple commands. ....This is the same difference as calling up any Sub or Function in your script... It make your life easier. However, I noticed one thing different about using a class rather than just a Sub or Funtion... When I was using the Class script and typed the code 'MB' and added the '.' a list of methods opened in a window on my Code editor.. In that list it shown all the things you could do. MB.GetAllValues, MB.SetAllValues, MB.LoadDB, MB.UnloadDB,etc.... It got this information from the Class and not from my system. That was cool!
I was attempting to add this Database Class to Hal. But I think It may not work probably for a variety of reasons, For instance,
#1 Hal does't seem to like Do While Loops though the Class script has several,
#2 Hal doesn't seem to like the ExecuteGlobal comand,
#3 Hal doesn't seem to like it when I use Funtions and Subs..(yet I seen you use them in previous scripts successfully).
#4 I'm beginning to think Hal doesn't like me either.
I wonder if the Hal Script itself is called by an ExecuteGlobal command. And all that weird synax (no offence intended Robert) is just a Class that was set up to make it easier to code using the Hal Script editor. But that is just a thought......
In the scripts I gave you Dude instead of a Class I used, in one script, some Functions and Subs, and the other I turned those Funtions and Subs into Procedures. (if I was playing Oblivion I would say my database skills have raised at least three points[

])
But getting the script to work may prove to be imposible because of those stinky Do loops....
You seem to be better at working Hal magic than I. If not you then I have confidence in your abilties to find out how... You have a whole nest of plugins to prove it and a gift for calling on the "LORDS OF PROGRAMMING".....[8D]
I've Got ideas...but little know-how[:I]