On 05/24/2017 12:54 AM, Ralf Quint wrote:
On 5/23/2017 7:19 PM, wkitt...@windstream.net wrote:
On 05/23/2017 09:56 PM, nore...@z505.com wrote:
The C struct is literally the pascal record, and is all based on the
same Structured Programming work by Dijkstra

except that the C struct does not have the array length at position
zero and you have to process until you hit the first null character...
that's the plus for pascal strings... you know how long the string is
from the start... unless it is a unicode string ;)

Well, the problem is that you can't use those handy Pascal strings that
much anymore these days. Ever since you need to use UTF8 to properly
represent textual context, this all has become one hell of a mess,
pretty leveling the playing field when it comes to handling such strings
with (Free)Pascalor C...

quite true, my friend... quite true :)

--
 NOTE: No off-list assistance is given without prior approval.
       *Please keep mailing list traffic on the list unless*
       *a signed and pre-paid contract is in effect with us.*
_______________________________________________
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other

Reply via email to