corrected BREAK example
[rrq/rrqforth.git] / adoc / p_strlen.adoc
1 // wordlists.asm:       WORD p_strlen,'STRLEN',fasm
2
3 anchor:p_strlen[]
4
5 === Word: STRLEN
6 ....
7 Data stack: ( s -- n )
8 ....
9
10 "STRLEN" is a function words that counts how many bytes there are from
11 s to the first NUL byte and returns that count, n, not including the
12 NUL byte.