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'<<<<