Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!mit-eddie!genrad!decvax!ucbvax!hqafsc-vax.UUCP!hoge From: hoge@hqafsc-vax.UUCP.UUCP Newsgroups: mod.computers.vax Subject: Re: How to tell if a global symbols is defined? Message-ID: <8702230625.AA04600@ucbvax.Berkeley.EDU> Date: Mon, 23-Feb-87 00:12:00 EST Article-I.D.: ucbvax.8702230625.AA04600 Posted: Mon Feb 23 00:12:00 1987 Date-Received: Tue, 24-Feb-87 02:30:47 EST Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: "Scott Hoge" Organization: The ARPA Internet Lines: 13 Approved: info-vax@sri-kl.arpa There's a lexical function which does exactly what you're looking for (I think). It's F$TYPE(symbol) and returns one of three values INTEGER if the symbol is an integer STRING if it's a string or a null string if its _undefined_ Hope this helps.... Scott Hoge TRW, Inc. hoge@hqafsc-vax.ARPA ------