[OpenBIOS] name of current word

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Wed Mar 31 10:42:41 CEST 2010

Programmingkid wrote:

> Is there a word that can tell me the name of the current word that is executing?
> I want something like this:
> : myword
> obtainWord
> ;
> obtainWord would somehow return "myword". Any tips would be great.

No, I don't think this is really possible because of the way in which 
Forth works (at least I ended up using a different solution for the 
debugger anyway).

Is there a reason that you're not using the in-built debugger for this? 
I'm fairly sure it would make your life much easier.



Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs

More information about the OpenBIOS mailing list