Posted by Jim Guerber on March 10, 2010 at 09:20:09:
In Reply to: Email Printer posted by Herb Walters on March 10, 2010 at 08:04:46:
(to=xxx$) is a mnemonic. mnemonics must be known at compile time, since the compiler codes differently for mnemonics vs strings. Here is some code which I think would replace your code correctly..
EMAILTO: FORMAT (TO=EMAILTO$)OEMNOR$='Herb Walters'
OEMAOR$='dpacsupport@@comcast.net'OEMNOR$=STRIP(OEMNOR$)
OEMAOR$=STRIP(OEMAOR$)EMAILTO$='"'+OEMNOR$+'"<'+OEMAOR$+>"
PRINT (9,EMAILTO)
This would format the "to" as...
"Herb Walters"<dpacsupport@comcast.net>
I did not try this code, so if it does not work, let me know and I will debug it.
Jim
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.