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

Richard Owlett wrote:
>
> My *IMMEDIATE* question
> After making a calculation in FORTH how do i display it in Tcl/Tk?
>
> I make *ABSOLUTELY* _NO_ claim that a sane person would do this. It is
> just a question of how each may talk to other. I've got some VAGUE ideas
> of how that might be useful.
>
> Said ideas *_NOT_* open to discussion ;\
Since your ideas are vague and unmentionable, here's some vague advice for you which may or may not help you. ;-)
I'm 99.44% sure you can get SwiftForth to talk to Tcl/Tk, but you'll probably have to dig quite a bit. With much less effort, you should be able to hack up one of the SwiftForth demos to display output more or less the way you want to in Tcl/Tk. Figuring out how to do that will both make you a more experienced Forth programmer, and *possibly* (depending on what precisely you're trying to do) give you an easier and quicker way to do a proof of concept for your vague and unmentionable ideas. Forth is a particularly good language for refining vague concepts, since you can sit at your interpreter and keep throwing things up on (and off of) the screen interactively until you like what you see.
After that, you should be in much better shape to get SwiftForth and Tcl/Tk to play nice together. That sounds better to me than trying to battle the Tcl/Tk interface AND your Forth inexperience at the same time.
After you've finished all that, please share with us how you did the Tcl/Tk interface!
-- Ron Oliver cell: 248.330.4446 Consulting Engineer main: 310.491.3356 or 800.55.FORTH FORTH, Inc. www.forth.com ---------------------------------------------------------------------- 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 Fri Oct 05 2007 - 14:06:27 PDT
This archive was generated by hypermail 2.2.0 : Tue Dec 02 2008 - 03:04:43 PST