embedded systems developers tools, cross compilers
  Home  |   SwiftX Archive  |   SwiftForth Archive  |

methods

From: Manning, Mark <Mark.Manning_at_TripointGlobal.com>
Date: Wed, 5 Nov 2003 16:42:24 -0600

I am new to this list and this question has probably come up on numerous
occasions but here goes...
 
I have made some definitions using methods> after a co-worker here told me
about them.
 
The "how to define a word that uses methods" is very easily figured out with
a quick look at the example definition for value. The problem however is
that I am unable to discover how those fetch and store methods work - if I
define a word "foo" with a fetch and a store method how do I actually fetch
the value within foo and store a new value therein? - is foo effectively a
value now? - do I just name foo to get its value and use 10 to foo to change
it ?
 
Thanx in advance...
 
   MIMIV

----------------------------------------------------------------------
swiftx_at_forth.com The SwiftX programming discussion email list
To unsubscribe, send subject "unsubscribe" to swiftx-request_at_forth.com
For list command help, send subject "help" to swiftx-request_at_forth.com
Message archives are located at http://www.forth.com/archive/swiftx
----------------------------------------------------------------------
This list is a forum for SwiftX users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Wed Nov 05 2003 - 14:48:26 PST

This archive was generated by hypermail 2.2.0 : Fri Dec 05 2008 - 03:04:22 PST