Hello, I am sorry if this is a stupid question, but I am really new to arrays and having a hard time to wrap my head around them.
Anyway, what I wish to do is have an array of 3 items. I have created 3 boolean variables and I wish to somehow be able to call to them from the array. somewhat like so:
var oneVar : boolean;
var twoVar : boolean;
var threeVar : boolean;
var fourVar : boolean;
var myArray : Array[oneVar,twoVar,threeVar];
Then I would want to be able to turn the variables true or false by calling the array, but also be able to switch twoVar with fourVar(for example)…
I am probably going about the wrong way, considering that there is nothing describing what I want( at least of what I could find)…
Any help would be greatly appreciated!
Thanks in advance