Try:
That is some very odd code: it's not obvious exactly what you expect to get out of it - but there are more errors in there than you have seen so far!
First off,
a
is an array of strings - except you haven't allocated any space to hold the data.
Second, why is
b
and array of strings if you are only putting one element in there, and use the same element each time? Why not just a string?
Third, what do you expect the code
a = b + i;
To actually do? Particularly in a loop?
Since you don't change b inside the loop, the whole loop can be replaced with a single statement using
x
since
a
would always contain the same value after it finishes anyway.
And a is an array (with no data), b is an array (with one element) and i is an integer - so I can't see anything particularly useful going into
a
anyway.
Think about what you are trying to achieve, rather than what you have written so far: because I think you have lost track of that - I suspect you meant to use
dt
in there somewhere to use the data you retrieved in the earlier code!