A anth12 Member Licensed User Longtime User Nov 5, 2011 #1 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.
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.
thedesolatesoul Expert Licensed User Longtime User Nov 5, 2011 #2 It should be: B4X: lbl1.Text=int1 & " of " & int2 & " remaining" Upvote 0
A anth12 Member Licensed User Longtime User Nov 5, 2011 #3 :BangHead: I cant believe i missed the "&". it took i a while to notice even when you pointed it out. Thanks Upvote 0
:BangHead: I cant believe i missed the "&". it took i a while to notice even when you pointed it out. Thanks