TI Basic does generally support nested loops. Just try not to affect a local variable of one loop inside one of its nested loops.