home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!psinntp!vitro.com!v7.vitro.com!vaxs09
- From: vaxs09@v7.vitro.com
- Newsgroups: comp.os.vms
- Subject: Re: Undocumented DCL feature
- Message-ID: <1992Aug13.085403.223@v7.vitro.com>
- Date: 13 Aug 92 08:54:03 -0500
- References: <7222224@zl2tnm.gen.nz>
- Distribution: world
- Organization: Vitro Corporation
- Lines: 20
-
- In article <7222224@zl2tnm.gen.nz>, don@zl2tnm.gen.nz (Don Stokes) writes:
- > Of course Real DCL hackers use f$fao for everything, eg:
- >
- > $ if f$fao("!SL", symb) .eq. symb
- > $ then write SYS$OUTPUT "symb is Integer"
- > $ else write SYS$OUTPUT "symb is String"
- > $ endif
-
- Nice try and one of the first things I thought of, but just to be picky...
-
- $ symb = "2147403648" ! So that descriptor address = string value
- $ if f$fao("!SL", symb) .eq. symb
- $ then write SYS$OUTPUT "symb is Integer"
- $ else write SYS$OUTPUT "symb is String"
- $ endif
-
- $ @test.com
- symb is Integer
-
- John Briggs vaxs09@v7.vitro.com
-