On Tue, 3 Oct 2023 00:03:07 +1100, Clem Clarke <[email protected]> 
wrote:
>
>PL/I, Pascal and even Assembler know how long a string is.  They don't
>have to waste cycle looking for the length of a string. Most of the
>time, they know how long the receiving string is, and won't go past the
>end, as C will.
>
Have you heard of strncpy(), etc.?

How does "Assembler know how long a string is"?

-- 
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to