public Variable getArrayVar(String identiName, ArrayList<ArithmeticResult> arrayOffsets) {
		if (localVTable.hasDecl(identiName) && localVTable.lookUpVar(identiName).isArray()) {
			return new ArrayVar(localVTable.lookUpVar(identiName), arrayOffsets);
		} else if (globalVTable.hasDecl(identiName) && globalVTable.lookUpVar(identiName).isArray()) {
			return new ArrayVar(globalVTable.lookUpVar(identiName), arrayOffsets);
		}
		throw new IllegalStateException("array not defined:" + identiName);
	}