HP3000-L Archives

January 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:
John Korb <[log in to unmask]>
Reply To:
John Korb <[log in to unmask]>
Date:
Mon, 11 Jan 1999 15:38:56 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
At 1/11/99 03:07 PM , Tracy Johnson wrote:
>Is there a way to upshift a parm entered on a UDC?
>
>(No MPEX answers please, I want plain vanilla.)
>
>Tracy Johnson
>"Trust No One" - Semper Gumby

The UPS function will upshift a string.
If you just want to upshift a single parm, you can use the WORD function to
extract the parm, and then UPS to upshift it.

Below is an example.

CDA9 [13]: setvar mystring "Cmd Parm1 Parm2 Parm3 Parm4"
CDA9 [14]: echo ![ups(word("!mystring",,2))]
PARM1
CDA9 [15]: setvar yourstring ups(word("!mystring",,2))
CDA9 [16]: showvar yourstring
YOURSTRING = PARM1
CDA9 [17]:

I hope this helps!

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