Download presentation
Presentation is loading. Please wait.
1
Just Basic Lesson 13 Mr. Kalmes
2
Lesson 13 Objective Commands to open a file and switch modes in basic codes Printing an array or index
3
Discussion How does a computer store files?
What can you use to transfer files?
4
Definitions OPEN: This command allows you to open a file OUTPUT: This command allows you to write in it CLOSE: This will shut the program down
5
Examples Example: open “myfile.txt” for output as #myprogram
#myprogram is the file handle. This tells BASIC what file to write into. Any file handle starts with a #. You will also need to close any files that you open into your program.
6
Lesson 13 Activity Build a program that will store names for this class roster, and it needs to print the names at the end.
7
Journal & Exit Slip Try and see if you can get your older programs to run inside a new one with the open, output, close tools we discussed to start class. Please complete your journal and exit slip via google forms
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.