[Info-vax] LIB$ equivalent of DCL f$type() ?
Michael Moroney
moroney at world.std.spaamtrap.com
Mon Dec 21 16:48:53 EST 2009
DTL <didier.morandi at gmail.com> writes:
>> What is your interpretation of "a number" ?
>Not mine, DCL's :-)
>DTL> a=1
>DTL> b=f$type(a)
>DTL> 'b
>%DCL-W-IVVERB, unrecognized command verb - check validity and spelling
> \INTEGER\
>DTL>
The type of a symbol seems to be unique to DCL. You'd have to write some
conversion code to match your/DCL's definition of a 'number'. I believe
DCL only knows about integers. Also, there are other types of symbols
known to DCL other than "INTEGER" and "STRING".
$ temp = F$CONTEXT ("PROCESS", ctx, "NODENAME", "*","EQL")
$ write sys$output f$type(ctx)
PROCESS_CONTEXT
More information about the Info-vax
mailing list