Search found 8 matches
- Wed Mar 09, 2022 7:18 pm
- Forum: QBasic / QuickBasic related
- Topic: Common Variables Between Programs
- Replies: 3
- Views: 377
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: 377
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: 553
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: 1143
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: 3
- Views: 560
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: 503
- Wed Sep 29, 2021 10:20 am
- Forum: QBasic / QuickBasic related
- Topic: Qbasic function procedure
- Replies: 1
- Views: 418
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: 416
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?