HP3000-L Archives

April 1998, 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:
Donna Garverick <[log in to unmask]>
Reply To:
Donna Garverick <[log in to unmask]>
Date:
Tue, 21 Apr 1998 09:51:27 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
Leonard S. Berkowitz wrote:

>  9    FILE CODE MNEMONIC          String         File code of disk file
>       FMTFCODE
>       FILE CODE
>
> -9    FCODE                       Integer        File code of disk file
>       INTFCODE
>
> Then I did the following:
>
> :SETVAR FC  FINFO ("ZMS001","FILE CODE")
> :SHOWVAR FC
> FC = 1052

hmmm, i wondering fc's value is numeric or string.  it can
be devilishly hard to tell if a ci variable is numeric or string
simply be looking at it.  i'd suggest going one step
farther and doing this:
  :setvar my_test typeof(!fc)
  :showvar my_test
0 = not set/available, 1 = integer, 2 = string, 3 = boolean
         - d
--
Donna Garverick     Sr. System Programmer
925-210-6631        [log in to unmask]

>>>MY opinions, not Longs Drug Stores'<<<<

ATOM RSS1 RSS2