[fpc-pascal] string vs char
Ralf Quint
freedos.la at gmail.com
Sat Oct 16 06:24:54 CEST 2021
On 10/15/2021 3:16 PM, Ched via fpc-pascal wrote:
> Well, well, understand.
>
>> OTOH, declaring a string of length 1 is sort of futile -- it uses
>> two bytes where a plain char declaration takes just one byte.
>
> Not so futile as a string can be empty, not a char !
Well, if you don't like it being called "futile, just call it "nonsense"
instead (in 99.99% of all possible use cases)
Ralf
--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
More information about the fpc-pascal
mailing list