home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!paladin.american.edu!auvm!HILBERT.MATHS.UTAS.EDU.AU!MCPHERS
- X-Mailer: ELM [version 2.2 PL11]
- Message-ID: <9208270127.AA08355@hilbert.maths.utas.edu.au>
- Newsgroups: bit.listserv.sas-l
- Date: Thu, 27 Aug 1992 11:27:02 EST
- Reply-To: "D. Glen McPherson" <mcphers@HILBERT.MATHS.UTAS.EDU.AU>
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- From: "D. Glen McPherson" <mcphers@HILBERT.MATHS.UTAS.EDU.AU>
- Subject: re: array declarations - thanks for help
- Lines: 35
-
- To those many sas-l subscribers who offered help with my problem with the
- declaration of character arrays, my sincere thanks. I attempted to contact
- each of you individually, but had some problems with return addresses in a
- significant number of cases. As many of you guessed, the problem was historical
- rather than in the current program. I originally made the mistake of assigning
- the symbol . for missing values instead of ' '. The result of this mistake
- was that the array was automatically treated as a numeric array and the
- variables constructed assumed numeric. Even though a subsequent run of the
- program included the character declaration of the array, SAS maintained the
- numeric status of the variables and hence treated the assigned character
- values as errors.
-
- As noted by several people, there is value in explicitly declaring variable
- type rather than allowing SAS to infer the type.
-
- Again my thanks to all who offered help.
-
- Glen.
-
- --
- ---------------------------------------------------------------------------
- | Glen McPherson | | _--_|\ |
- | Department of Mathematics |-----------------------------------| / \ |
- | University of Tasmania | E-Mail: | \_.--._/ |
- | Australia. | mcphers@hilbert.maths.utas.edu.au | * |
- ---------------------------------------------------------------------------
-
-
- --
- ---------------------------------------------------------------------------
- | Glen McPherson | | _--_|\ |
- | Department of Mathematics |-----------------------------------| / \ |
- | University of Tasmania | E-Mail: | \_.--._/ |
- | Australia. | mcphers@hilbert.maths.utas.edu.au | * |
- ---------------------------------------------------------------------------
-