Code: Select all
AA := '20';
BB := '00'
str1 := AA + BB
lcd_out(1,1,str1) // display '35yj 35yj'
strcat(AA,str2)
strcat(BB,str2)
lcd_out(2,1,str2) // display '2000'
Code: Select all
AA := '20';
BB := '00'
str1 := AA + BB
lcd_out(1,1,str1) // display '35yj 35yj'
strcat(AA,str2)
strcat(BB,str2)
lcd_out(2,1,str2) // display '2000'
Code: Select all
AA := '20';
BB := '00'
lcd_out(1,1,fstrcat2(AA,BB)) // would display '2000'
Code: Select all
var
temp1 : string[4]; // global var
function test1(x:byte): string[4];
begin
// do something that result was a string[4];
end;
// main
begin
while true do
begin
temp1 := test1(1);
end;
end.
1- the error dont say too much and worst , dont say where is the real probE-3 Identifier ')' was not declared
You're certainly not the only one .piort wrote:hi,note: happy to be not alone remembering this time
Yes, indeed . (It should not be that hard to implement, as string parameters are passed only by address so the function result could also be a pointer/address).but function dont return string...
I agree, but with all the effort that goes into new IDE and command line compiler development there is little hope we'll see string adding issue resolved in v8.3.So no choice, we have to work more and more with string.