Fast Track 1.3: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
(Created page with "====Errors==== '''Error Beeps'''' You may have noticed that as you're working with your programs, if you make a mistake, BR will beep at you. Enter the line: 10 Print “P...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
====Errors====
====Errors====
'''Error Beeps''''
'''Error Beeps'''


You may have noticed that as you're working with your programs, if you make a mistake, BR will beep at you.  Enter the line:
You may have noticed that as you're working with your programs, BR will beep at you if there is a mistake.  Enter the line:


  10 Print “Print it all
  10 Print “Print it all


and BR will produce the Error 1003, which appears in the third section on the bottom bar of your BR console. Checking on the wiki is the best way to learn about unknown errors. Search and you'll see that [[1003]] is a '''Missing Quote''' error. Which you can easily fix to run the program.  
and BR will produce the Error 1003, which appears in the third section on the bottom bar of your BR console. Checking on the wiki is the best way to learn about unknown errors. Search and you'll see that [[1003]] is a '''Missing Quote''' error. Which you can easily fix to run the program.


====Print Newpage====
====Print Newpage====
Line 22: Line 22:
<noinclude>
<noinclude>
[[Category:Fast Track Tutorial]]
[[Category:Fast Track Tutorial]]
</noinclude
</noinclude>

Latest revision as of 18:25, 10 September 2014

Errors

Error Beeps

You may have noticed that as you're working with your programs, BR will beep at you if there is a mistake. Enter the line:

10 Print “Print it all

and BR will produce the Error 1003, which appears in the third section on the bottom bar of your BR console. Checking on the wiki is the best way to learn about unknown errors. Search and you'll see that 1003 is a Missing Quote error. Which you can easily fix to run the program.

Print Newpage

You may have noticed that your console is filling with stuff. Type

Print Newpage

(and enter) and it will clear the screen. When writing programs it's important to use this code to clear your user's screen in between sections of your program so that leftovers don't appear on your screens.

Clear

The Clear command will also clear the screen, but will exit any programs you have running, and delete any unsaved portions, and current variable values. When debugging, CLEAR PROC will clear the current activity but will leave variables intact.