www.delorie.com/gnu/docs/gforth/gforth_87.html   search  
Buy GNU books!

Gforth Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.7.6 Memory Blocks

Memory blocks often represent character strings; For ways of storing character strings in memory see 5.18.3 String Formats. For other string-processing words see 5.18.4 Displaying characters and strings.

A few of these words work on address unit blocks. In that case, you usually have to insert CHARS before the word when working on character strings. Most words work on character blocks, and expect a char-aligned address.

When copying characters between overlapping memory regions, use chars move or choose carefully between cmove and cmove>.

doc-move doc-erase doc-cmove doc-cmove> doc-fill doc-blank doc-compare doc-search doc--trailing doc-/string doc-bounds

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003