For more versatility, you might consider this ...

The EXT (external) modifier.

Typcasting Variables inside of Arrays
http://www.picbasic.co.uk/forum/show...php?t=3891#TYP