version 1.151, 2006/03/11 22:51:59
|
version 1.152, 2006/03/11 23:15:48
|
Line 283 User-defined Defining Words
|
Line 283 User-defined Defining Words
|
* CREATE..DOES> applications:: |
* CREATE..DOES> applications:: |
* CREATE..DOES> details:: |
* CREATE..DOES> details:: |
* Advanced does> usage example:: |
* Advanced does> usage example:: |
* @code{Const-does>}:: |
* Const-does>:: |
|
|
Interpretation and Compilation Semantics |
Interpretation and Compilation Semantics |
|
|
Line 6330 locals declarations for stack effect spe
|
Line 6330 locals declarations for stack effect spe
|
* CREATE..DOES> applications:: |
* CREATE..DOES> applications:: |
* CREATE..DOES> details:: |
* CREATE..DOES> details:: |
* Advanced does> usage example:: |
* Advanced does> usage example:: |
* @code{Const-does>}:: |
* Const-does>:: |
@end menu |
@end menu |
|
|
@node CREATE..DOES> applications, CREATE..DOES> details, User-defined Defining Words, User-defined Defining Words |
@node CREATE..DOES> applications, CREATE..DOES> details, User-defined Defining Words, User-defined Defining Words |
Line 6440 CREATE name EXECUTE ( ... -- ... )
|
Line 6440 CREATE name EXECUTE ( ... -- ... )
|
|
|
doc->body |
doc->body |
|
|
@node Advanced does> usage example, @code{Const-does>}, CREATE..DOES> details, User-defined Defining Words |
@node Advanced does> usage example, Const-does>, CREATE..DOES> details, User-defined Defining Words |
@subsubsection Advanced does> usage example |
@subsubsection Advanced does> usage example |
|
|
The MIPS disassembler (@file{arch/mips/disasm.fs}) contains many words |
The MIPS disassembler (@file{arch/mips/disasm.fs}) contains many words |
Line 6564 of parameters when using the defining wo
|
Line 6564 of parameters when using the defining wo
|
understand this, but it may improve your understanding of Forth. |
understand this, but it may improve your understanding of Forth. |
|
|
|
|
@node @code{Const-does>}, , Advanced does> usage example, User-defined Defining Words |
@node Const-does>, , Advanced does> usage example, User-defined Defining Words |
@subsubsection @code{Const-does>} |
@subsubsection @code{Const-does>} |
|
|
A frequent use of @code{create}...@code{does>} is for transferring some |
A frequent use of @code{create}...@code{does>} is for transferring some |