QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: FellippeHeitor on June 13, 2021, 08:21:42 pm
-
You will eventually need to save data or get data back from a file in your programs. Here's how to do that in the most, *ahem*, BASIC way. Part 1 of 2.
-
Here's the list of "chapters"/segments:
00:00 Intro
00:55 Open command overview
02:31 Outputting data to disk - CSV files
09:04 Reading data back from disk - CSV files
10:52 Detecting the end of a file - EOF()
15:25 Appending data to an existing file
17:39 Outputting "freer" text to disk - Print statement
24:15 Reading text back from a disk file - Line Input statement
26:48 Closing files
27:43 Moving the cursor in a file - Seek statement
30:56 Conclusion
-
@FellippeHeitor
How do you magnify the screen, is that a MAC thing?
Staying tuned for part 2
-
Exactly, it's native to macOS (control + mouse wheel).
Thanks for watching!
-
Wow, QB was doing CSV files from beginning with Write, I probably learned that back in 90's and forgot all about it. Print #fh was alwys my main Output or Append command.
@FellippeHeitor Susan Sarandon is 74 so I imagine she would be complimented by your age estimation :)
-
Haha, totally. I Googled her after I shot the video and I gotta say she's doing really well.
-
[ This attachment cannot be displayed inline in 'Print Page' view ]
-
The next membership goal should be enough to fill an Airbus A380... 853...
-
Exactly, it's native to macOS (control + mouse wheel).
Thanks for watching!
Same with Windows.
Nice video Fellippe.
-
hi, on my Toshiba windows 10 ctrl+wheel of mouse has many different results depending of the situation:
in the webbrowser it changes the vision zooming in or out
in a window of system with forlders it cicles among the different ways to see the icons in that window
on the desktop image it makes a zoom in or out of icons but not of the image used as background
but if you go into menu of windows accessories and you activate magnify glass then you can use ctrl+ wheel of mouse to magnify
-
Part 2: https://www.qb64.org/forum/index.php?topic=4024.msg133617