| www.delorie.com/gnu/docs/gforth/gforth_101.html | search |
![]() Buy GNU books! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
: name ( ... -- ... )
word1 word2 word3 ;
|
Creates a word called name that, upon execution, executes
word1 word2 word3. name is a (colon) definition.
The explanation above is somewhat superficial. For simple examples of colon definitions see 4.3 Your first Forth definition. For an in-depth discussion of some of the issues involved, See section 5.10 Interpretation and Compilation Semantics.
doc-: doc-;
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |