[Info-vax] LIB$ equivalent of DCL f$type() ?
VAXman- at SendSpamHere.ORG
VAXman- at SendSpamHere.ORG
Mon Dec 21 15:16:05 EST 2009
In article <b1eda5c2-b345-4842-9fe5-9846a2f9c830 at m25g2000yqc.googlegroups.com>, DTL <didier.morandi at gmail.com> writes:
>Thanks all,
>
>On 21 d=E9c, 17:39, Jan-Erik S=F6derholm <jan-erik.soderh... at telia.com>
>wrote:
>>
>> What is your interpretation of "a number" ?
>
>Not mine, DCL's :-)
>
>DTL> a=3D1
>DTL> b=3Df$type(a)
>DTL> 'b
>%DCL-W-IVVERB, unrecognized command verb - check validity and spelling
> \INTEGER\
>DTL>
In that case, you'd need to look at the SYM block of the symbol in question
and, in particular, at the value in SYM_B_TYPE. SYM_K_BINARY = 2 = integer
SYM_K_STRING = 0 = string
--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG
http://www.quirkfactory.com/popart/asskey/eqn2.png
"Well my son, life is like a beanstalk, isn't it?"
More information about the Info-vax
mailing list