mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04:00
Check in Ed Beroset's documentation fix
Correct count in %strlen example
This commit is contained in:
parent
9e9a24253a
commit
1727b3d0eb
1 changed files with 2 additions and 2 deletions
|
|
@ -2059,7 +2059,7 @@ example of the use of this would be:
|
|||
|
||||
\c %strlen charcnt 'my string'
|
||||
|
||||
In this example, \c{charcnt} would receive the value 8, just as
|
||||
In this example, \c{charcnt} would receive the value 9, just as
|
||||
if an \c{%assign} had been used. In this example, \c{'my string'}
|
||||
was a literal string but it could also have been a single-line
|
||||
macro that expands to a string, as in the following example:
|
||||
|
|
@ -2068,7 +2068,7 @@ macro that expands to a string, as in the following example:
|
|||
\c %strlen charcnt sometext
|
||||
|
||||
As in the first case, this would result in \c{charcnt} being
|
||||
assigned the value of 8.
|
||||
assigned the value of 9.
|
||||
|
||||
|
||||
\S{substr} \i{Sub-strings}: \i\c{%substr}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue