Search found 14 matches
- Wed Dec 03, 2025 6:55 am
- Forum: QBasic / QuickBasic related
- Topic: Looking for an old windowing library
- Replies: 1
- Views: 594
Re: Looking for an old windowing library
You could use vbdos which pretty much is qb 4.5 with windowing built in.
- Fri Nov 28, 2025 11:16 am
- Forum: QBasic / QuickBasic related
- Topic: My recent personal BASIC for DOS projects->
- Replies: 0
- Views: 16
My recent personal BASIC for DOS projects->
Occassionally, when I get around to it and feel like it I will still write something fun in an old BASIC dialact for DOS (GWBasic/QBasic/QuickBASIC/VBDOS/TurboBASIC). None of them are really useful except perhaps as examples for those wanting/needing to learn a really old BASIC dialect but they migh...
- Sat Nov 22, 2025 9:44 pm
- Forum: QBasic / QuickBasic related
- Topic: Qbasic "OUT" Command Need Work-Around
- Replies: 1
- Views: 635
Re: Qbasic "OUT" Command Need Work-Around
QBasic OUT Command & Modern PCs The old QBasic OUT command worked under Windows 98 because programs could write directly to the parallel port. Starting with Windows XP, Microsoft removed direct hardware access for stability and security reasons. On top of that, most modern PCs no longer include par...
- Sat Nov 22, 2025 9:41 pm
- Forum: QBasic / QuickBasic related
- Topic: Reading external files
- Replies: 1
- Views: 644
Re: Reading external files
Are you trying to create a game in qb?
Your question is very broad, could you be more specific?
When it comes to file i/o in qb look up the following in the help:
OPEN statement
EOF function
LINE INPUT # statement
Those should get you started.
Your question is very broad, could you be more specific?
When it comes to file i/o in qb look up the following in the help:
OPEN statement
EOF function
LINE INPUT # statement
Those should get you started.
- Sat Nov 22, 2025 9:35 pm
- Forum: QBasic / QuickBasic related
- Topic: QBasic function with optional arguments
- Replies: 1
- Views: 941
Re: QBasic function with optional arguments
No, qb doesn't support optional arguments. What are you trying to do?
- Sat Nov 22, 2025 9:28 pm
- Forum: QBasic / QuickBasic related
- Topic: Windows 11 install - mouse good, keys not
- Replies: 1
- Views: 557
Re: Windows 11 install - mouse good, keys not
Perhaps you could try DOSBox or DOSBox-X?
- Wed Mar 09, 2022 7:18 pm
- Forum: QBasic / QuickBasic related
- Topic: Common Variables Between Programs
- Replies: 3
- Views: 998
Re: Common Variables Between Programs
You're welcome!
- Tue Mar 08, 2022 8:13 pm
- Forum: QBasic / QuickBasic related
- Topic: Common Variables Between Programs
- Replies: 3
- Views: 998
Re: Common Variables Between Programs
I tried this once and had the same issue. I found this in Quick Basic 4.5's help: Note: To use COMMON with CHAIN when you are compiling outside the BASIC environment, you must use the BRUN45.EXE module. This module is used when you compile from the command line without the /O option or when you use ...
- Wed Sep 29, 2021 10:30 am
- Forum: QBasic / QuickBasic related
- Topic: Qbasic Lucky Sort Code
- Replies: 1
- Views: 961
Re: Qbasic Lucky Sort Code
Here's the vb.net implementation:
https://www.programmingalgorithms.com/a ... rt/vb-net/
If you like I can try converting it to QBasic.
https://www.programmingalgorithms.com/a ... rt/vb-net/
If you like I can try converting it to QBasic.
- Wed Sep 29, 2021 10:28 am
- Forum: QBasic / QuickBasic related
- Topic: Why Do I Get Subscript Errors Here?
- Replies: 4
- Views: 1817
Re: Why Do I Get Subscript Errors Here?
Why? I should be able to go to 32000 shouldn't I? And in fact it seems to go wrong anywhere above 2000. I believe you can't declare any array with the total number of bytes exceeding 64kb. It's not just the number of elements but the resulting size that matters. Since you didn't explicitly declare ...
- Wed Sep 29, 2021 10:23 am
- Forum: QBasic / QuickBasic related
- Topic: OS in QBasic
- Replies: 0
- Views: 950
Re: OS in QBasic
Writing an OS in QBasic is impossible. Do you mean you want to write a shell?
- Wed Sep 29, 2021 10:22 am
- Forum: QBasic / QuickBasic related
- Topic: Printing data
- Replies: 1
- Views: 922
- Wed Sep 29, 2021 10:20 am
- Forum: QBasic / QuickBasic related
- Topic: Qbasic function procedure
- Replies: 1
- Views: 816
Re: Qbasic function procedure
Your main issue is that you aren't assigning a value to be returned in your function: DECLARE FUNCTION Hello$() PRINT Hello$ END FUNCTION Hello$() Text$ = "Hi, This is Suraj" END FUNCTION This results: I modified your function to be of the type string ("$") and to return instead of print your text.
- Wed Sep 29, 2021 10:15 am
- Forum: QBasic / QuickBasic related
- Topic: Disabling interrupts
- Replies: 1
- Views: 827
Re: Disabling interrupts
Personally I prefer to use NASM or for very small things you can even use the MS-DOS debugger to create small binary files. Also, I wouldn't link binary files but rather use CALL ABSOLUTE to call snippets of binary code. What does you assembly code look like btw?