DEFINE MAIL PROBLEM

DEFINE MAIL PROBLEM

Postby Ollie » Fri Jan 05, 2007 7:53 pm

Can anyone explain why I get a 'parse error at MAIL' on the third message?

Code: Select all  Expand view
PROCEDURE   SENDEMAIL()
   LOCAL oMail

   // This works just fine:
   DEFINE MAIL oMAIL SUBJECT "Message 1 - Sends Fine "+TIME() ;
   TEXT "This is the message "+SDATE(DATE())+' '+TIME() ;
   TO "bill@microsoft.com"

ACTIVATE MAIL oMail

   DEFINE MAIL oMAIL SUBJECT "Message 2 - Sends Fine "+TIME() ;
   TEXT "This is the message "+SDATE(DATE())+' '+TIME() ;
   TO "bill@microsoft.com" ;
   FROM USER

ACTIVATE MAIL oMail

   DEFINE MAIL oMAIL SUBJECT "Message 3 - parse error at MAIL"+TIME() ;
   TEXT "This is the message "+SDATE(DATE())+' '+TIME() ;
   TO "bill@microsoft.com" ;
   FILES {"c:\winzip.log","c:\winzip.log"} ;
      FROM USER

ACTIVATE MAIL oMail
Many thanks
Ollie.

Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)
Ollie
 
Posts: 233
Joined: Sat Dec 30, 2006 6:10 am

Re: DEFINE MAIL PROBLEM

Postby Enrico Maria Giordano » Fri Jan 05, 2007 11:19 pm

Code: Select all  Expand view
FILES "c:\winzip.log", "Winzip1.log", "c:\winzip.log", "Winzip2.log" ;


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Ollie » Sat Jan 06, 2007 7:18 am

Ah ha - Thanks.
Many thanks
Ollie.

Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)
Ollie
 
Posts: 233
Joined: Sat Dec 30, 2006 6:10 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 81 guests