First of all, how would one about using a string as a variable name? For example, would I use the following to create a variable named whatever varname is equal too:
%varname = "myvariablename";
$(varname) = "stuff";
Hard to explain, but I think you get my gist.
Second, I was trying to find out how to detect a user entering a certain kind of vehicle, for instance, a flyingWheeledVehicle.
Would it be:
package(thing)
{
flyingWheeledVehicleData::onMount()
{
//do stuff
}
}
activatePackage(thing);
Thanks in advance!