Hi.

I am trying to display a string depending on the value of a variable.

I am trying to have a list of strings already defined like:

string string_1_1 = "string 1 1";
string string_1_2 = "string 1 2";
string string_1_3 = "string 1 3";

and then in a function change the string of a text by:

str_cpy(current_string,"string_1_");
str_for_num(current_step,step);
str_cat(current_string, current_step);
str_cpy(digits_text,changed_string);
step +=1;

This doesn't work as I want obviously because the text displays
string_1_1
string_1_2
string_1_3

and so on...

How can I use these strings to call for the predefined strings with those names?

Thanks.