diff options
author | Charles Crayne <chuck@thor.crayne.org> | 2007-12-28 15:00:03 -0800 |
---|---|---|
committer | Charles Crayne <chuck@thor.crayne.org> | 2007-12-28 15:00:03 -0800 |
commit | 1727b3d0ebe310721ce17bca4448d44cf28ff850 (patch) | |
tree | cf57fbc7c1621b16a735198ba4dc71fe6f47f10a | |
parent | 9e9a24253a56ad94014d5848bf4ad91ccd6cd1fb (diff) | |
download | nasm-1727b3d0ebe310721ce17bca4448d44cf28ff850.tar.gz nasm-1727b3d0ebe310721ce17bca4448d44cf28ff850.tar.bz2 nasm-1727b3d0ebe310721ce17bca4448d44cf28ff850.zip |
Check in Ed Beroset's documentation fix
Correct count in %strlen example
-rw-r--r-- | doc/nasmdoc.src | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src index 1a2f007..ad79744 100644 --- a/doc/nasmdoc.src +++ b/doc/nasmdoc.src @@ -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} |