label text

anth12

Member
Licensed User
Longtime User
Hi, its probably very obvious but why would this not work?
B4X:
Dim lbl1 As Label
dim int1, int2 as int

(load layout...)

lbl1.Text=int1 & " of " int2 & " remaining"

Error: Syntax error

Desired output: "10 of 10 remaining"

Thanks, Anthony.
 

anth12

Member
Licensed User
Longtime User
:BangHead:

I cant believe i missed the "&". it took i a while to notice even when you pointed it out.

Thanks
 
Upvote 0
Top