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:
Bruce Toback <[log in to unmask]>
Reply To:
Bruce Toback <[log in to unmask]>
Date:
Fri, 3 Apr 1998 09:09:58 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (24 lines)
John Korb writes:

>   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 obvious, if inelegant, solution is to define your own substitution
character for !'s that are intended to remain in the message. If you use
something with no meaning in HTML (say, an accent grave), you can simply
scan the character string returned by GENMESSAGE and substitute in !'s
for that character.

>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 curious to know in what way the new NLS catalogs are less flexible
than the old message catalogs. Other than the fact that MAKECAT-generated
catalogs are also human-readable, I can't think of something you can do
with GENMESSAGE that you can't also do with CATREAD.

-- Bruce

ATOM RSS1 RSS2