programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Re: Can we send an INCLUDE command to a running instance of SwiftForth from an external editor?

From: Conrad Weyns <weyns_at_online.no>
Date: Fri, 5 Sep 2003 19:23:31 +0200

----- Original Message -----
From: "Rick VanNorman" <rvn_at_forth.com>
To: <sftalk_at_forth.com>
Sent: Friday, September 05, 2003 6:45 PM
Subject: [sftalk] Re: Can we send an INCLUDE command to a running instance
of SwiftForth from an external editor?

> SwiftForth can be controlled by any application that can post windows
> messages. Not all editors can.

> SwiftForth can also be extended to accept commands composed in any way you
> can conceive. That is the nature of Forth.
>
> The answer is more dependent on your editor than on SwiftForth.

Thanks for the swift answer. Fair enough.
Let me rephrase the question:

Given a running instance of a basic SwiftForth, thus not yet extended in any
way, what is the easiest path to sending it a request to INCLUDE "some file
path"? I know a thing or two about how to send HWND messages to another app.
As it happens, there aren't that many with which you can pass any sort of
data... I have double checked the otherwise excellent SwiftForth.pdf
documentation and other than a chapter on DDE (which could be a solution) I
have found nothing about possible HWND messages it is allready "listening"
to in it's QUIT loop that will let me invoke it's INCLUDE word.
I suspect you are going to tell me that I will first have to extend
SwiftForth - which is perfectly ok. Sorry about the noise in that case. I am
simply trying to figure out if something readily accessible is already part
of the basic system.
Regards,
Conrad Weyns.

>
>
>
> On Fri, 5 Sep 2003 17:28:52 +0200, Conrad Weyns <weyns_at_online.no> wrote:
>
> > Hi,
> > can we send an INCLUDE command to a running instance of SwiftForth from
> > an
> > external editor?
> >
> > Regards,
> > Conrad Weyns
>
> ----------------------------------------------------------------------
> 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
> ----------------------------------------------------------------------
>
>

----------------------------------------------------------------------
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 Sep 05 2003 - 10:30:20 PDT

This archive was generated by hypermail 2.2.0 : Tue Dec 02 2008 - 03:04:33 PST