39 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
70
views
QuickBasic optional arguments
Is it possible to write a subroutine or function with optional arguments?
for example:
MyFunct (x AS INTEGER, [y AS INTEGER, Z AS INTEGER])
so that I can use the function with only the first argument ...
2
votes
0
answers
56
views
Do I have to deallocate dynamic array in qb64?
I learnt about making dynamic arrays in quick basic. The question is, do I have to use the erase statement if a dynamic array is defined inside a function or memory will be freed up itself
I want to ...
3
votes
1
answer
160
views
Inconsistent REDIM behaviour in QuickBasic 4.5
I was writing a toy QBasic compiler and some tests for it. When I tried to create a vector type, I encountered an inconsistency with REDIM.
The following code works in both QBasic and QuickBasic 4.5 ...
1
vote
1
answer
74
views
Advice on how to fix a Progress Bar code in QuickBASIC
I have a problem that I am hoping someone who is smarter then myself can help me with.
I have this bit of code that I am trying to get to work.
SUB ShowProgressBar (FileCount%, NCount%, BarWidth%, ...
1
vote
1
answer
328
views
Set cursor in QB45
I have been using the following code to change the cursor in QB45:
SUB LocateX(Inserting)
' locate cursor
IF Inserting THEN
' half-block cursor
Locate Xcoor, Ycoor, 1, 3, 7
...
0
votes
2
answers
202
views
Detect ANSI in QB45 in DOSBOX
I have been using DOSbox and ANSI with some success, but I want to detect ANSI installed.
Ralf Brown description for detecting ANSI is:
--------V-2F1A00-----------------------------
INT 2F - DOS 4.0+ ...
3
votes
1
answer
2k
views
QBasic Vs. QuickBASIC
I want to learn "old school" programming. A friend suggested Q BASIC.
But another person told me Quick Basic. I want to practice programming
in the OLD Dos operating system.
What is the ...
2
votes
0
answers
168
views
How to detect MouseWheel in QB45
I am using the following code to trap Left/Right/Middle mouse button and mouse row/column in QB45:
(QB45 is Microsoft Quick Basic v4.5)
and I need a way to detect MouseWheel. I have looked at Ralf ...
0
votes
0
answers
47
views
Engineering symbol miniscule sigma CHR$(229) prints on the screen but not to a file
PRINT CHR$(229) works fine
PRINT #1, CHR$(229) get an "a" with a small circle on top
1
vote
1
answer
81
views
Programming "rset" of QB 4.5 by assembly in Turbo Pascal
I'm programming a procedure in Turbo Pascal with assembly to make a close job of "rset" statement in QB 4.5. "Rset" will justify a string to the last bytes in the variable by mean ...
5
votes
1
answer
638
views
Invalid variable name error in QB64 with old QuickBasic code
I am trying to run a QuickBasic file written by someone else in 1992. I am using QB64 on a Windows 10 machine. I get an error message that says Invalid variable name in line 26 of the following code....
1
vote
1
answer
63
views
How do I use a parameter as a Variable Name?
trying to make a sub routine that can varable parameters to find which varable to return.
IF _FILEEXISTS("Std Motor Pricing.csv") THEN
OPEN "Std Motor Pricing.csv" FOR INPUT AS #3
...
1
vote
0
answers
197
views
QUICBASIC 4.5 Program now in QB64
I took a QB45 application and produced a QB64 application from it over 100,000 lines of code. All the pricing was hard coded in the program so I started reading from CSV files but now I need the date ...
1
vote
1
answer
600
views
Programming in QuickBasic with repl.it?
I'm trying to get a "retro-computing" class open and would like to give people the opportunity to finish projects at home (without carrying a 3kb monstrosity out of 1980 with them) I've heard that ...
1
vote
0
answers
309
views
serial byte check within timeout (asm)
I'm interfacing with hardware through the RS232 serial port. This time with wireless modules. I decided to use DOS as my OS over anything else because its real-time (which means no process can ...