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


Subscribe to our e-mail list service. It's free for all SwiftForth and SwiftX users!

This archive was generated 09-Feb-2012. Archive updated nightly.