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

Re: Mail Program

From: Mike Ghan <MikeGhan_at_logix-controls.com>
Date: Tue, 9 Aug 2005 12:54:57 -0700

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

-----Original Message-----
From: sftalk-bounce_at_forth.com [mailto:sftalk-bounce_at_forth.com] On Behalf
Of Virgil Stamps
Sent: Tuesday, August 09, 2005 12:08 PM
To: sftalk_at_forth.com
Subject: [sftalk] Mail Program

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.=20

Does anyone have any ideas about the cause? I am sure it must be simple.
Virgil Stamps

----------------------------------------------------------------------
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 Tue Aug 09 2005 - 12:55:33 PDT

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