Hi!
I try to adding text to a variable int "for" by get an empty result if using multiple text parameters: txtadd(destination,txt1,txt2,txt3,...)
Example:
set(media_list,'');
for(set(i,0), i LT skin_media_list.count, inc(i),
txtadd(media_list, get(i), '. ', get(skin_media_list[get(i)].name), '<br />');
);
copy(layer[skin_media].html, media_list);
But if I write such manner (single text parameter), there is concatenated string in results:
set(media_list,'');
for(set(i,0), i LT skin_media_list.count, inc(i),
txtadd(media_list, get(i));
txtadd(media_list, '. ');
txtadd(media_list, get(skin_media_list[get(i)].name));
txtadd(media_list, '<br />');
);
copy(layer[skin_media].html, media_list);
Help me, please, what's wrong?