cupboy2013
Programmer
Any explanation of why these lines of code are bad? Is something totally different about strings in the new Delphi as compared to Delphi 7?
{ lbx.Items.Add(Dest + '[' + Dest2 + ']'); }
{ TODO: So plus signs are illegal now? How do you concatenate strings?}
lbx.Items.Add(Concat(Dest,'[',Dest2,']')); // this doesn't work either
Here's how the two variables are defined:
Dest: array[0..254] of char;
Dest2: array[0..254] of char;
{ lbx.Items.Add(Dest + '[' + Dest2 + ']'); }
{ TODO: So plus signs are illegal now? How do you concatenate strings?}
lbx.Items.Add(Concat(Dest,'[',Dest2,']')); // this doesn't work either
Here's how the two variables are defined:
Dest: array[0..254] of char;
Dest2: array[0..254] of char;