I would like to be able to add to a custom class in the style of:
x=myclass("Something", 7) x + 3
7, of course, corresponds to an internal property that I would like to increase by adding to it.
The class contains a number that refers to a location in the list. This may seem like something that can be done by a normal integer, but I need it to act as a separate type. All this is done to imitate the old gaming language. A class is its βvariableβ class, and the value of the variable is stored in the above list. Apparently, in the older version of the game, arrays were tampered with by doing math on an instance of a variable object in order to capture another variable. Therefore, I am trying to imitate this.
Kelketek
source share