-
Global Variables issue
Okay i currently am making the Global variable. ill have questions earlier but, for now i am making the variable of AttackingOption
it looks like
AttackingOption: Array;
But its telling me it needs an of statement there, this is my first time making a variable like that rather than just
AttackingOption = 'Goblin';
So how would i fix that array for it to work?
-
If you want it to be an array of strings, you can call it "array of String" or "TStringArray" or if you want to set the length of the array you can do "array [0..24] of String" where you edit 24 to be the desired highest index, and 0 to be the desired lowest index
-
Thanks, got it working though.