HP3000-L Archives

July 1998, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Ron Horner <[log in to unmask]>
Reply To:
Ron Horner <[log in to unmask]>
Date:
Thu, 23 Jul 1998 08:18:28 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (44 lines)
What version of MPEX are you on???

I tried your example and it worked ok.





FONTAIC <[log in to unmask]> on 07/22/98 08:20:23 PM

To:   [log in to unmask]
cc:    (bcc: Ron Horner/MIS/CorpCtrl/STO)
Subject:  MPEX Echo'ing an Ampersand




Does anyone know how to echo an ampersand & to a file in MPEX?  Here's the
rub,
when I do this:

%ECHO if (field1 !<= fielda and field2 !>= fielda) and &     >> suprcom
%ECHO field3 = "yaddayaddayadda"                             >> suprcom
%ECHO ext this                                                           >>
suprcom
%ECHO ext that                                                          >>
suprcom

Note: the exclamation marks before the < and > in the first line are
intentional so MPEX doesn't interpret them as IO redirection.

MPEX thinks the ampersand is a continuation of the first command so I only
get
three lines of code in the file (and I get an MPEX error to boot!).

PRINT suprcom
if (field1 <= fielda and field2 >= fielda) and
ext this
ext that


Charlie Fontaine
NYLCare Health Plans

ATOM RSS1 RSS2