[fpc-pascal] Weird string behavior

Santiago A. svaa at ciberpiula.net
Tue Jul 26 16:09:42 CEST 2016


El 26/07/2016 a las 12:27, Mattias Gaertner escribió:
> a3:=a1+a2 => cp = 1252
> a3:=a2+a1 => cp = 65001
Is that the expected behavior?

IMHO the result should be the same. And the only way is to make it
depend on a3, no matter what is in the left side. That's the way things
are done in Pascal


-- 
Saludos

Santi
svaa at ciberpiula.net




More information about the fpc-pascal mailing list