Aug-16-2018, 12:50 AM
I would use a class with properties. Properties are attributes that allow you to set up code that is triggered when the attribute changes. So whenever valIndex changes, you could have code that automatically changes WordList as well, assuming they were both attributes of the class.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures