![]() |
||
| Home | SwiftForth Archive | SwiftX Archive | |

Ok, that's clear.
But what does the Forth find when it meets foo3?
I was wondering whether it's something one can fool around with inside a colon definition
.....
To explain a little more:
I am working at a page-layout system for a music engraving program.
It would be nice if I could use objects that refer to certain pages of a piece of music by
name. But only for the time being (that's why I thought of local objects)
Another piece of music uses the same class properties (instruments, active staffs, etc).
It would be nice to bundle the whole thing in one colon definition and see the outcome on
screen before further using it.
On 26 Nov 2006 at 8:33, Rick VanNorman wrote:
> Your conclusion is correct -- local objects have no name in the
> dictionary, nor do objects created via NEW.
>
> On 11/26/06, Cees van Zeeland <cees.van.zeeland_at_xs4all.nl> wrote:
>
> : Bar
> [objects ExampleClass1 makes foo3 objects]
> foo3 .ObjName ;
>
> Bar
>
> Is the name non-existent with local objects?
> Any suggestion would be fine.
>
>
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and
bug reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Sun Nov 26 2006 - 11:54:49 PST
This archive was generated by hypermail 2.2.0 : Tue Dec 02 2008 - 03:04:41 PST