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

Re: Mail Program

From: Virgil Stamps <vstamps_at_houston.rr.com>
Date: Sun, 21 Aug 2005 16:45:45 -0500

Mike,
Thanks for the response. I managed to get the email alert function working
when I switched from a thread to a background task. It is not obvious to me
why but really, there is nothing new about that.

Thanks for the tip on Operator's and the Console Window. That bit of
information had escaped me for years.
Virgil

-----Original Message-----
From: sftalk-bounce_at_forth.com [mailto:sftalk-bounce_at_forth.com] On Behalf Of
Mike Ghan
Sent: Tuesday, August 09, 2005 2:55 PM
To: sftalk_at_forth.com
Subject: [sftalk] Re: Mail Program

A possibility: SENDING outputs error information to (presumably) the
console. OPERATOR'S will set the thread's output vectors to use the
console window:

: FOOBAR CR ." Init Thread"
   FORKS> OPERATOR'S
   CR ." New Thread Started"
   BEGIN CR ." Wait a sec" 1000 MS AGAIN ;=20

Note: the font may be incorrect causing some line overlap.

If all else fails, you could now add status messages to show you
SENDING's progress.

Good luck,
Mike

I have an application where I want to send email alerts when an
instrument has a warning or alarm.=20

I basically am using the Sendmail.f program but message selection is
based upon an external event. I am trying to call it by implementing a
FORK thread. The event causes the thread to run.

The program does NOT execute properly from the thread. I can manually
type SENDING from the command line and it works properly.

----------------------------------------------------------------------
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 Aug 21 2005 - 14:46:24 PDT

This archive was generated by hypermail 2.2.0 : Thu Dec 04 2008 - 03:04:20 PST