sprintf(btn_numsc,”test %d”,btn_nums);
So you’re storing test in the array, so instead of set_value, you’re using set_text