Im using Gauss11 (so "ftos" is not an option) and I just want to number variable names in a loop. The idea is the following:
do until k==kmax;
string'k' = "Hello";
So I end up with string1, string2, string3... all equaling "Hello".
I know it should be pretty much simple, but anyway. Help is highly appreciated.
Best regards, kurt
In most cases, it is much better to create an array of strings instead of a bunch of separate variables.
kmax = 7; my_strings = reshape("Hello", kmax, 1);
then you can access them by index.