Hi,

Possibly not a real-world problem, but some pet-project of mine has to
deal with it (at least in theory).

What happens if you try to concatenate 2 huge ansistrings, such that
Length(String 1) + Length(String 2) > High(SizeInt)?
All this assuming you have memory enough to perform such an operation ;-)

Will this trigger some sort of error, or will it silently ditch all
characters beyond High(SizeInt), like concatenating two long
shortstrings do if the combined length would be > 255?

-- 
Bart
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to