I have two sets of objects/variables:
berryGenNo (a variable)
carrotGenNo (a variable)
I thought I could write a function with 1 parameter for the 'fruit', and then be able to say, for instance,
for 1 to fruitGenNo
Pick a fruitGen
Spawn a fruit
But I can't seem to make the compound show up as a variable. Using fruit&GenNo or fruit&Gen doesn't work.
Am I trying to do the impossible? This seemed to be a good use of functions.