home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / bit / listserv / sasl / 3917 < prev    next >
Encoding:
Text File  |  1992-08-26  |  2.4 KB  |  48 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!paladin.american.edu!auvm!HILBERT.MATHS.UTAS.EDU.AU!MCPHERS
  3. X-Mailer: ELM [version 2.2 PL11]
  4. Message-ID: <9208270127.AA08355@hilbert.maths.utas.edu.au>
  5. Newsgroups: bit.listserv.sas-l
  6. Date:         Thu, 27 Aug 1992 11:27:02 EST
  7. Reply-To:     "D. Glen McPherson" <mcphers@HILBERT.MATHS.UTAS.EDU.AU>
  8. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  9. From:         "D. Glen McPherson" <mcphers@HILBERT.MATHS.UTAS.EDU.AU>
  10. Subject:      re: array declarations - thanks for help
  11. Lines: 35
  12.  
  13. To those many sas-l subscribers who offered help with my problem with the
  14. declaration of character arrays, my sincere thanks. I attempted to contact
  15. each of you individually, but had some problems with return addresses in a
  16. significant number of cases. As many of you guessed, the problem was historical
  17. rather than in the current program. I originally made the mistake of assigning
  18. the symbol  .  for missing values instead of  ' '. The result of this mistake
  19. was that the array was automatically treated as a numeric array and the
  20. variables constructed assumed numeric. Even though a subsequent run of the
  21. program included the character declaration of the array, SAS maintained the
  22. numeric status of the variables and hence treated the assigned character
  23. values as errors.
  24.  
  25. As noted by several people, there is value in explicitly declaring variable
  26. type rather than allowing SAS to infer the type.
  27.  
  28. Again my thanks to all who offered help.
  29.  
  30. Glen.
  31.  
  32. --
  33.  ---------------------------------------------------------------------------
  34. |  Glen McPherson            |                                   |  _--_|\  |
  35. |  Department of Mathematics |-----------------------------------| /      \ |
  36. |  University of Tasmania    |               E-Mail:             | \_.--._/ |
  37. |  Australia.                | mcphers@hilbert.maths.utas.edu.au |       *  |
  38.  ---------------------------------------------------------------------------
  39.  
  40.  
  41. --
  42.  ---------------------------------------------------------------------------
  43. |  Glen McPherson            |                                   |  _--_|\  |
  44. |  Department of Mathematics |-----------------------------------| /      \ |
  45. |  University of Tasmania    |               E-Mail:             | \_.--._/ |
  46. |  Australia.                | mcphers@hilbert.maths.utas.edu.au |       *  |
  47.  ---------------------------------------------------------------------------
  48.