Difference: MicroSdBlocks (59 vs. 60)

Revision 602020-11-04 - PeterSchmid

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
%DASHBOARD{ section="banner"
Line: 595 to 595
 
str0term     ( c-addr len -- )          make Forth string null-terminated, be sure the buffer is long enough to accept an additional 0 character.
strlen       ( c-addr -- c-addr len )   calculate the length of a C string, Forth string compatible

Changed:
<
<
.str" ( c-addr "text" -- len ) copy string into buffer
>
>
.str" ( c-addr "text" -- ) copy string into buffer
 s0" ( "text" -- c-addr len ) Compiles a 0-terminated string and gives back its address and length when executed .( ( "text) -- ) Mecrisp's ." is working only in compile mode
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback