HP3000-L Archives

March 2006, 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:
Larry Barnes <[log in to unmask]>
Reply To:
Larry Barnes <[log in to unmask]>
Date:
Tue, 21 Mar 2006 11:25:48 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (58 lines)
Thanks to all for finding the solution.

I've used the same var in other scripts and they seem to work.  But here
I followed the recommendation of using different var names; see below.
This fixed the problem.

Thanks again.

	parm helpme = "", _menu1 = ""
	option nolist nohelp
	setjcw insidempex = 0
	if insidempex <> 0
	 showvar _@
	 if "!_menu1" = ""
	  prompt string _menu_name =" Enter the name of the menu name to
review :"
	  setvar _menu2 ups('!_menu_name')
	 else
	  setvar _menu2 ups('!_menu1')
	 endif

	 echo Gathering information on !_menu2 ... please wait or press
ctrl-y to exit

	ELSE
	 xeq mpex.pub.vesoft;parm=1;info="!hpfile !helpme,!_menu1"
	 showvar _@
	ENDIF

 

-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On
Behalf Of David N Lukenbill
Sent: Tuesday, March 21, 2006 9:50 AM
To: [log in to unmask]
Subject: Re: [HP3000-L] Vesoft vexation!

Larry,

A follow-up to my previous post.... Try the following on your system:
      Parm Test1="",Test2=""
      SetVar Test3 "!Test1"
      SetVar Test4 "!Test2"
      ShowVar Test@

When you run this, the ShowVar will only show Test3 and Test4 as
variables.

David N. Lukenbill
Computer Sciences Corporation

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2