lcd_cmd(LCD_CLEAR);
lcd_cmd(LCD_SECOND_ROW);
tmpst2:='+++++++++';
strAppendSuf(tmpst2,255);strAppendSuf(tmpst2,255);Strcat(tmpst2,'OK');
for i:=0 to 7 do begin
bytetostr(tmpst2,tmpst1);Lcd_Out_Cp(tmpst1);Lcd_Out_Cp(',');
end;
on lcd i see: 43,43,43,43,43,5,43,43,
where from this "5" ????
string content problem
Re: string content problem
Good question. Can we see the declaration of "tmpst1" and "tmpst2"?alm_lug wrote:lwhere from this "5" ????
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)
Question, not hing to do with your problem I assume:for i:=0 to 7 do begin
If I can count right then, after all processing, "tmps2" should have a length of 13 characters. Why only showing the first 8? The original string is already 9 characters long!
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)