Download presentation
Presentation is loading. Please wait.
1
Basic 9 Mr. Husch
2
Objective Understand how to comment and write functions.
Create functions in BASIC
3
What we know Input data Display with print
Store data with strings and variables Control program with if…then and goto
4
What is new?
5
Len() The Len() function is a command that gives the number of characters in a string. We can also have functions loop information.
6
An example of looping
7
What did that program do?
What numbers did it display and why?
8
Commenting: Use rem
9
Rem If you use rem on a separate line it can remind you what the program was supposed to do there. Your assignment is to write a program that will loop numbers and put a reminder in it. Then you need to go back to your previous assignments and add reminder tags to them as well.
10
End of Lesson 9 Turn in the program, LASTNAME_100.BAS
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.