Files
BlitzNext/_release/help/commands/2d_commands/EndGraphics.htm
T

23 lines
1.5 KiB
HTML
Raw Normal View History

2014-02-26 16:08:39 +13:00
<html><head><title>Command: EndGraphics </title><meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'><link rel='stylesheet' href='../css/commands.css' type='text/css'></head><body><span class='Command'>&nbsp;&nbsp;EndGraphics &nbsp;&nbsp;</span></p><span class='header'>Definition:</span> <br><br><table width='100%' border='0' cellspacing='2' cellpadding='2' align='center'><tr><td>Ends the graphics mode.</td></tr></table><span class='header'><br>Parameter Description:</span> <br><br><table width='100%' border='0' cellspacing='2' cellpadding='2' align='center'><tr><td>None</td></tr></table><p class='header'>Command Description: <br><br><table width='100%' border='0' cellspacing='2' cellpadding='2' align='center'><tr><td>This command ends the graphics mode, and puts Blitz back into 'text' mode (for lack of a better term).</td></tr></table><p class='header'>Example: <br><br><table width='100%' border='0' cellspacing='2' cellpadding='2' align='center'><tr><td>; End Graphics Example<br>
<br>
; Enter graphics mode<br>
Graphics 640,480,16<br>
<br>
; Print hello 10 times on the graphic screen<br>
For t = 1 To 10<br>
Print "Hello"<br>
Next<br>
<br>
; Wait for a left mouse button<br>
While Not MouseHit(1)<br>
Wend <br>
<br>
; End the graphics mode<br>
EndGraphics <br>
<br>
; Print again, this time to the text screen<br>
For t = 1 To 10<br>
Print "There"<br>
Next<br></td></tr></table><p><b><a target="_top" href="../index.htm">Index</a></b></p></body>
</html>