-
Dec 1st, 2016, 11:28 AM
#1
Thread Starter
Fanatic Member
MS QBasic in high school...too old, now python basic ?
Since 2000, I have given a high school presentation called, The Value of An Education.
During this four day event I spend two days on programming using 1986 MS QBASIC. Why? No GUI and I have twenty minutes before the students are lost and looking out the window.
Guess a number between 1-100, is less than 8 lines of code...no GUI
Calculate interest on saving account is 14 lines
*** CMD/ Qbasic no longer runs on win 7,8,or 10...
Python basic ?
Please add your ideas
Thanks
Alpha Micro: Alpha Basic, AS400 V5r2, EDI (Trusted Link/ Inovis.com),Access AS/400 via VB6, Qbasic for data conversions. A mix of Hardware too. ASCII Table , New Number to Words/66 digits , AS/400(v5r2) VB6 Viewer/Ask for code(ODBC) ^ What Is Transferring? , Check your Ports #Perfect Passwords , *Slide Bar Example , Logoff, Restart, Shut-Down PC *Keep Form On Top , Opaque Form ^ Create Objects at Run Time @ Check Key Caps Locks # GetTickCount(System Up Time) * Convert text to Excel & Collected Icons + Resize: Form/Text box ^ PC GateWay via Shell $ Drag & Drop Game ! PopUpMenu *Print File/no Open# Timer on Mult Forms ~ Splash & Mult Forms & Lots of Comments + Random/Timer/Guess * Dec >Hex >Oct >Bin % Get MAC (NIC) < saving to Registry > Wookiee Cookies \ BackUpDisk / World Conection SpeedTest $ Glossary Commonly Used Terms # phonetic list @ Detailed Computer Scan
When posting Code, Use tags.. [CODE] *Your Code* [/CODE]
-
Dec 1st, 2016, 07:24 PM
#2
Re: MS QBasic in high school...too old, now python basic ?
Is this a machine you carry around with you?
You could install XP in a virtual machine to still have access to Qbasic on newer machines.
You could try using QB64, but you won't have the ability to step through the code since it has to be compiled to an executable and run.
Python can be pretty interesting, but it is not BASIC, so has some peculiarities compared to the syntax you're familiar with.
What part of no GUI do you find appealing, the development process or the running process.
Since VB.Net supports Console based projects, you run "non-GUI" code in a console window, although you generally still develop with a GUI based IDE.
I haven't tried running qbasic in a DOSBox window, so when I get home maybe I'll give that a try to see if that can be done, as an option.
There are probably some other BASIC interpreters that people have put together, but I haven't looked.
-
Dec 2nd, 2016, 02:09 PM
#3
Re: MS QBasic in high school...too old, now python basic ?
I spend two days on programming using 1986 MS QBASIC. Why? No GUI and I have twenty minutes before the students are lost and looking out the window.
Perhaps it's the cynic in me, but maybe the first statement is the reason for the last one...
-tg
-
Dec 15th, 2016, 08:32 AM
#4
Re: MS QBasic in high school...too old, now python basic ?
One possibility is to buy an ESP8266 NodeMCU device for $5 to $10.
You can plug that into a USB port or even a USB "power bank" and program it using any device with WiFi and a web browser.
Or better yet, go get ESP8266 Basic and re-flash the device with that firmware. Then instead of LUA you can program it in Basic. ESP8266 Basic now has extra files you can install to add code colorization to its web editor console too. That might end up installed natively soon but for now it is optional.
Whether you go with LUA or Basic, you can create simple demo programs easily. You can ignore the GPIO pins or stick the device into a breadboard and do little IoT things as part of your demo. Blinks some LEDs, scan through colors on an RGB LED, move a servo motor, drive a small OLED display, etc. Even make a little robot car you can drive from a web browser UI. The list goes on and on.
But just to show a little Basic programming no real hardware knowledge is needed. Just get the NodeMCU breakout board and a USB to MicroUSB cable. Use a PC to flash Basic onto it. After that you can use a PC, Mac, Tablet, Phone, HDMI Android stick, etc. to do your programming demos.
Or if the IoT stuff leaves you cold just install RFO BASIC! on an Android device.
-
Jan 10th, 2017, 09:12 AM
#5
Re: MS QBasic in high school...too old, now python basic ?
You could also consider this:
QuickVB
Though if they were honest it would be called "QuickVB.Net" since it is .Net bound and uses .Net syntax and libraries. But Microsoft hasn't been honest for almost 16 years now.
-
Jan 10th, 2017, 10:47 AM
#6
Re: MS QBasic in high school...too old, now python basic ?
You could also consider this:
Microsoft Small Basic
-
Jan 10th, 2017, 01:26 PM
#7
Re: MS QBasic in high school...too old, now python basic ?
Yes, but I assume that wasn't mentioned before because of the OP's original stated desire that he wanted a non-GUI BASIC, like QBasic.
-
Jan 11th, 2017, 03:50 AM
#8
Re: MS QBasic in high school...too old, now python basic ?
I know but a "terminal/DOS" style UI is also a GUI.
It's up to the TS what the needs really are and when things become to distracting.
-
Jan 11th, 2017, 08:47 AM
#9
Re: MS QBasic in high school...too old, now python basic ?
Originally Posted by Arnoutdv
I know but a "terminal/DOS" style UI is also a GUI. ...
I suppose it is moot.
I don't consider a terminal interface becomes a GUI interface just because it is emulated on a GUI.
Of course most DOS machines since the CGA was available supported graphics, so a graphical user interface could be created if desired, and I did write one or two back in the late 80s, early 90s until Windows 3.0 came out. Once Windows 3.1 and VB1 came out, I switch to that fairly quickly and didn't look back (much).
I think you're right. We probably should point out interesting alternatives for consideration.
-
Jan 18th, 2017, 09:57 AM
#10
Re: MS QBasic in high school...too old, now python basic ?
Using M2000 (programming like basic, freeware, open source)
you can use full screen (in any text mode, any combination from 10 char width, and 2 rows height), a like terminal output (also has split screen, so the upper part can stay while the lower part can scroll - without saving the dropped area)
Last edited by georgekar; Jan 20th, 2017 at 08:58 AM.
-
Jan 20th, 2017, 09:29 AM
#11
Re: MS QBasic in high school...too old, now python basic ?
-
Aug 4th, 2017, 02:36 PM
#12
Lively Member
Re: MS QBasic in high school...too old, now python basic ?
I'm using QBasic, my windows is 7 and I use program called DOSBox to run the classic QBasic, it works with me so fine.
I think you can download DOSBox from here:
https://www.dosbox.com/download.php?main=1
Download dosbox and setup it, I assume too that you have QBasic, open the dosbox and you will found a black console screen, type this:
Code:
mount c e:\qb45
c:
qb
you have to enter after every line, you type "mount c e:\qb45" to make like a partition called "c" to refer to the folder "e:\qb45" that have qbasic exe file, then you go to the new partition you made with "c:", c=e:\qb45 remember that, you can't you use "mount" to refer to a partition like "mount c e:\", you must refer to a folder (directory in the language of DOS), at the end you run QBasic with its exe file, I suppose it here to be "qb".
I'm not sure if DOSBox can work with Windows 8 or 10.
Last edited by ahmedcrow; Aug 4th, 2017 at 02:39 PM.
Reason: additional note
-
Oct 3rd, 2017, 12:47 PM
#13
Re: MS QBasic in high school...too old, now python basic ?
-
Jan 10th, 2018, 09:30 AM
#14
Re: MS QBasic in high school...too old, now python basic ?
Interesting option that can also support an introduction IoT as well as acting like an early Basic PC:
-
Mar 9th, 2018, 03:30 AM
#15
New Member
Re: MS QBasic in high school...too old, now python basic ?
I think u can try using QB64
But it has to be compiled into an executable and run.
-
Mar 9th, 2018, 06:47 AM
#16
Re: MS QBasic in high school...too old, now python basic ?
Yes. QB64 was mentioned in the first response (post #2).
-
Mar 13th, 2018, 02:55 AM
#17
New Member
Re: MS QBasic in high school...too old, now python basic ?
Originally Posted by passel
Yes. QB64 was mentioned in the first response (post #2).
Oh,yeach
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|