home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / pascal / 7850 < prev    next >
Encoding:
Internet Message Format  |  1993-01-05  |  1.4 KB

  1. Xref: sparky comp.lang.pascal:7850 comp.sys.ibm.pc.programmer:736
  2. Newsgroups: comp.lang.pascal,comp.sys.ibm.pc.programmer
  3. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!smurf.sub.org!nadia!delos!sinus!stefan
  4. From: stefan@sinus.stgt.sub.org (Stefan Bechtold)
  5. Subject: 2 Questions about Graphic under TurboPascal6
  6. Message-ID: <1993Jan4.225959.311@sinus.stgt.sub.org>
  7. Organization: Sinus Stuttgart, Germany
  8. Date: Mon, 4 Jan 1993 22:59:59 GMT
  9. Lines: 28
  10.  
  11. Hi !
  12.  
  13. I've two questions about the graphic mode under Turbo Pascal 6.0:
  14.  
  15. 1) What I want to do is to move a rectangle on the screen;
  16.    How can I do this ? If I use, e.g., a 
  17.    for i:=1 to 10 do
  18.    rectangle(i,i,4*i,4*i)
  19.    I get 10 rectangles drawn together; but what I want is that
  20.    they only appear for a certain time and then get removed
  21.    (so that is appear as if the rectangle would move from i,i to
  22.    10*i,10*i).
  23.  
  24. 2) I'm working on a program which often redraws the screen.
  25.    Is there any possiblity to clear only certain figures/parts
  26.    of the screen so that others remain on the screen ?
  27.    (I've a matrix and something writen on that; what I want is that
  28.    the matrix remains on the screen and only the other stuff will
  29.    be rewritten)
  30.  
  31. If you have any hints, it would be really great !!
  32.  
  33. Thank you very much,
  34. Stefan
  35. -- 
  36. + Stefan Bechtold # stefanb@delos.stgt.sub.org # Voice +49 711 813240 +
  37. ++++++++sed nemo potuit tangere: merda fuit ! (Martial III 17)+++++++++
  38.  
  39.