Difference between revisions of "Code Examples"

From GbdevWiki
Jump to: navigation, search
(Created page with ' == Simple GBBasic 2.10 example == <nowiki> 10 rem Simple example 20 for i=1 to 16 30 u=rnd(1)*16 40 print u 50 delay 20 60 next i 70 end </nowiki>')
 
(Simple GBBasic 2.10 example)
Line 4: Line 4:
  
 
<nowiki>
 
<nowiki>
 
+
<code>
 
10 rem Simple example
 
10 rem Simple example
 
20 for i=1 to 16
 
20 for i=1 to 16
Line 12: Line 12:
 
60 next i
 
60 next i
 
70 end
 
70 end
 
+
</code>
 
</nowiki>
 
</nowiki>

Revision as of 14:42, 15 July 2010

Simple GBBasic 2.10 example

<code> 10 rem Simple example 20 for i=1 to 16 30 u=rnd(1)*16 40 print u 50 delay 20 60 next i 70 end </code>