home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / pascal / 5143 < prev    next >
Encoding:
Internet Message Format  |  1992-08-31  |  1.4 KB

  1. Path: sparky!uunet!mcsun!sunic!dkuug!iesd!iesd.auc.dk!caroe
  2. From: caroe@iesd.auc.dk (Jesper Caroee)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: Records and strings
  5. Message-ID: <CAROE.92Sep1112128@steinhaus.iesd.auc.dk>
  6. Date: 1 Sep 92 10:21:28 GMT
  7. References: <1718i2INN2os@matt.ksu.ksu.edu>
  8.     <1992Aug24.033429.15678@qiclab.scn.rain.com>
  9.     <17aqd5INN73t@matt.ksu.ksu.edu>
  10. Sender: news@iesd.auc.dk (UseNet News)
  11. Organization: Mathematics and Computer Science, Aalborg University
  12. Lines: 24
  13. In-Reply-To: holland@matt.ksu.ksu.edu's message of 24 Aug 92 14:06:29 GMT
  14.  
  15.  
  16. >I like the cleaner looking boolean assignements.  However, if you recall,
  17. >the Valfieldx() functions took a String as their arguments, and the Arec
  18. >fields are not Strings -- they're things like String[12], etc....that's why
  19. >I bothered with the other stuff...
  20.  
  21. If you are using Turbo Pascal, there is a compiler-option called: 
  22.  
  23.    strict var-string checking   (I think)
  24.  
  25. If you check this off, strings of any length will be compatible, and you
  26. will not have to bother with that problem any more.
  27.  
  28. --
  29. Jesper
  30.  
  31. Q: Computing is just like sex because...?
  32. A: When you make a mistake, you end up supporting it for years
  33.  
  34. ,-----------------------------------------------------,
  35. : Jesper Caroe                                        :
  36. : University of Aalborg                               :
  37. : caroe@iesd.auc.dk                                   :
  38. '-----------------------------------------------------'
  39.