HP3000-L Archives

January 1999, Week 3

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 Dunlop <[log in to unmask]>
Reply To:
John Dunlop <[log in to unmask]>
Date:
Mon, 18 Jan 1999 14:22:38 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
"Genute, Thomas" wrote:
>
> You can upshift a parm but must use a different variable name within the
> command file or UDC.
>
> PARM INPUT="string"
> Setvar UINPUT UPS("!INPUT")
> Echo INPUT=!INPUT
> Echo UINPUT=!UINPUT

I don't mean to nit-pick but I have often retained the same name for
the UDC parm as the variable I have created.

E.g.
parm x="test"
setvar x ups("!x")
echo this is !x
showvar x

will produce the result:

this is test
X = TEST

Cheers,

John Dunlop

E-mail : [log in to unmask]
Web  : http://homepages.tcp.co.uk/~jdunlop/
"All your HP3000 resources on the Net"

ATOM RSS1 RSS2