home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / pascal / 7389 < prev    next >
Encoding:
Internet Message Format  |  1992-12-11  |  981 b 

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!menudo.uh.edu!rosie.uh.edu!st1fx
  2. From: st1fx@rosie.uh.edu (Perplexed Prophet)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Linked Lists
  5. Date: 11 Dec 1992 15:19 CST
  6. Organization: University of Houston
  7. Lines: 13
  8. Sender: st1fx@rosie.uh.edu (Corbett, Brian M.)
  9. Distribution: world
  10. Message-ID: <11DEC199215195685@rosie.uh.edu>
  11. NNTP-Posting-Host: rosie.uh.edu
  12. News-Software: VAX/VMS VNEWS 1.41    
  13.  
  14. I am beginning programmer trying to learn Linked List at this moment.  I
  15. currently use TP 7.0.  
  16.  
  17. I am trying to create a program simulating a Lottery drawing.  (Meaning
  18. I am going to have Random numbers).  In this drawing, Six numbers will be
  19. drawn. (I know an array is sufficient for this, but again I am practicing
  20. dynamic structures).  Anyhow,  when I step through the program everything
  21. works fine (Meaning I have six different numbers as output).  However,
  22. when I run the program I get one number printed six different times.
  23.  
  24. Thank You.
  25.  
  26. P.P.
  27.