you can easily already do this with string arrays and you can have as many dimentions as you want by useing seperators
in one of my games i store all enemy locations in one string
let enemyxy$="3-2,3-4,6-7,8-6"
let xy=val(nthfield$(enemyxy$,",",1)) //this would return the "3-2"
//then just can split the x and y with nthfield by changine the seperator to "-"
this is also how i store the enemy stats in gangwars
//1-2 xy on map, 3-4 xy on sprite sheet, 5 damage, 6 hp, 7evade, 8 accuracy,
let npc$(1)="3,6,2,8,6,90,20,10"
you can take it even further, this is basically exacly what gan described:
//stats are stored from the fifth digit allowing four spaces for a label
let npc$(1)="xmap3,ymap6,xspr2,yspr8,dam-6,hp--90,evd-20,acc-10"
let x$=nthfield$(npc$(1),",",6) //returns the 6th field "hp--90"
let hp(1)=val(mid$(x$,5,5)) //returns 5 digits starting from the 5th digit