HP3000-L Archives

November 1998, Week 4

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:
Jeff Vance <[log in to unmask]>
Reply To:
Jeff Vance <[log in to unmask]>
Date:
Mon, 23 Nov 1998 13:16:30 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
On Nov 23,  1:34pm, Glenn J. Koster, Sr. wrote:
> Michael Berkowitz wrote:
...
> > Is there a system variable on 6.0
> > only, that I can check for its existence with the HPCIGETVAR
> > intrinsic, to say I'm on 6.0 or not?
>
>     :IF (STR("!HPVERSION",2,2) <> "60") THEN
>        <whatever you need to do if you are not 6.0>
>     :ENDIF

Slight variation:

  if str(hpversion,2,2) >= "60" then          # note: no "!..." needed
    # you have user defined job queues...
  else ...

You can also try to execute a benign command such as ":LISJOBQ >$null".

Jeff Vance, CSY

--

ATOM RSS1 RSS2