HP3000-L Archives

November 1999, Week 2

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:
"Michael D. Hensley" <[log in to unmask]>
Reply To:
Date:
Thu, 11 Nov 1999 11:34:49 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
> We use Vesoft's Streamx exclusively here, and I was wondering if anyone
> here would know how to get around a little problem I am having with it.
> The job prompts the user for a string:
>
> ::PROMPT STRING INFO = &
>   "Enter a string: "
>
> The string may contain a slash ("/"). I want to display within the
> stdlist what string the user entered:
>
> !comment info.....{INFO}
>
> But if the user has entered a string which contains a slash, the part of
> the string which follows the slash does not display in the comment line.
> Is there some trick to getting the whole string to display, regardless
> of what the user entered?

The problem isn't STREAMX, it's MPE.  In order to keep passwords and
lockwords out of $STDLISTs, MPE simple-mindedly removes text which follows a
"/" (if the text could be a valid password).  For example, "FOO/ABCDEFGH"
will display as "FOO/", but "FOO/ABCDEFGHI" will be unchanged (the string
after the "/" is too long to be a password).  "FOO/123" and "FOO/-XYZ" will
also be left intact.

You can come close to what you want by changing your comment to

!comment info.....{STRCHANGE(INFO,"/","-")}

This will replace the "/" with a "-".

---
Michael D. Hensley       | mailto:[log in to unmask]
Allegro Consultants Inc. | Visit scenic http://www.allegro.com
408/252-2330             | "Support Bill of Rights Enforcement"

ATOM RSS1 RSS2