Thank you all.
After trying to set up a Tlist following some examples it looks to me like a Tlist cannot be created without a Type?
Is this even close to the answer?
Hmm, the Tlist is missing.
The two variables - gotstate and gotcapital are Frame numbers to the LoadAnimImage states and LoadAnimImage capitals.
BTW: The States and Capitals are both arranged to be in alphabetical order so StateFrame 0 = 0 and CapitalFrame 0 = 31.
Do I add to the code:
missed:Tlist=createlist()
Then in the function for reporting wrong matches -
listaddlast missed , gotstate
listaddlast missed , gotcapital
Whew - this is getting a bit convoluted. sorry.
After trying to set up a Tlist following some examples it looks to me like a Tlist cannot be created without a Type?
Is this even close to the answer?
Type state field state, capital End Type Global missed : state = New state ' Now in the function that reports wrong matches - if state wrong missed.state = gotstate ' This is the state variable if capital wrong missed.capital = got capital ' This is the capital variable
Hmm, the Tlist is missing.
The two variables - gotstate and gotcapital are Frame numbers to the LoadAnimImage states and LoadAnimImage capitals.
BTW: The States and Capitals are both arranged to be in alphabetical order so StateFrame 0 = 0 and CapitalFrame 0 = 31.
Do I add to the code:
missed:Tlist=createlist()
Then in the function for reporting wrong matches -
listaddlast missed , gotstate
listaddlast missed , gotcapital
Whew - this is getting a bit convoluted. sorry.