You can store information in variables, which will by default be remembered as long as VoiceAttack is running.
E.G.
When I say: remember hangar [1..10]
Set integer [hangarNumber] value to the converted value of {TXTNUM:"{CMD}"}
would store the number, and
When I say: which hangar
Say, 'Hangar {INT:hangarNumber}.'
to recall the number.