Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - DeeKay

#1
I am trying to get a GUI label (L1) to show multiple string variables (V1,V2...). I can get it show any one of these using

L1.Text=V1; or L1.Text=V2; etc

What I want, tho, is to show multiple variables together. Eg, something like

L1.Text=V1+V2+V3;

But it doesn't like the + (or the &) operator. Is there an operator for simple concatenation like this?


UPDATE
I managed to get it using string.format as follows:

L1.Text=String.Format("%s%s%s%s", V0, V1, V2, V3);

Is this the right/best (a stupid) way of doing it?
SMF spam blocked by CleanTalk