HP3000-L Archives

April 1998, Week 1

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:
John Korb <[log in to unmask]>
Reply To:
John Korb <[log in to unmask]>
Date:
Fri, 3 Apr 1998 10:54:54 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (42 lines)
Perhaps someone knows the solution to my problem.

I'm using message catalogs (those created by MAKECAT.PUB.SYS, not the kind
created by GENCAT.PUB.SYS) in an application.  I need to use the older,
more flexible version (which uses MAKECAT and the GENMESSAGE intrinsic)
because the newer version is less flexible.

I'm placing HTML fragments in the message catalog, and then using the
parameter substitution to insert the page title, page heading, table data,
etc. into the page.  This cuts down on the amount of code, makes it really
easy to change the page title, layout, etc. without recompiling the
application program.

Unfortunately, I also need to be able to include the "!" character in the
page text, as in the "<!-- comment -->" construct.  This is a problem
because "!" is a special character in messages, and indicates where a
parameter is to be inserted into a message.

Thus, my question is this:

   Is there a way to escape the "!" and indicate to GENMESSAGE that this "!"
   is not where a parameter is to be inserted, but is an "!" that is to be
   displayed?

The CATREAD intrinsic (used with GENCAT) allows escaping with a "~", but
that doesn't work with the older message catalogs, and GENMESSAGE can't
read the newer catalogs created with GENCAT.

Any ideas?

Thanks!

John


--------------------------------------------------------------
John Korb                            email: [log in to unmask]
Innovative Software Solutions, Inc.

The thoughts, comments, and opinions expressed herein are mine
and do not reflect those of my employer(s), or anyone else.

ATOM RSS1 RSS2