Skip to main content

All Questions

Tagged with
1 vote
0 answers
31 views

Hide Console from .BAS compiled into .exe code

I'm developing an application manager to handle the execution of some legacy code written in .bas files. The application is being developed in Java/Kotlin and is accessed via a web service. The .bas ...
Victor Dalosto's user avatar
0 votes
1 answer
75 views

Number required for function error in qb64

I am writing a qb64 / QBasic software program to convert a numerical grade 0-100 to a letter grade (a,b,c,d,f). I have set it up so that strings/arrays are used to allow infinite grades to be entered. ...
Ian L's user avatar
  • 1
1 vote
1 answer
237 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 ...
Azathoth's user avatar
  • 115
0 votes
0 answers
44 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
rmaki's user avatar
  • 19
4 votes
1 answer
70 views

Can I take the entire console and save it as a string variable?

I'm trying to take the entire console text at the end of the program and save it as a string variable. Then after I will take the string variable and save it as a text document. What would be the best ...
Eddie Whitcomb's user avatar
1 vote
1 answer
55 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 ...
rmaki's user avatar
  • 19
3 votes
3 answers
346 views

Why don't INPUT$ and INKEY$ work in Linux console mode?

I written QB64 code to try the BASIC functions INPUT$ and INKEY$. This program runs good when it doesn't run in Linux console mode, but if we set the SW to run in Linux console mode this SW doesn't ...
Sir Jo Black's user avatar
  • 2,096
5 votes
1 answer
175 views

Can I tell the QB64 compiler *not* to optimize my code?

I want to experiment with the efficiency of various algorithms and compiler optimization is an obstacle. Can I disable compiler optimizations in QB64?
Alex V's user avatar
  • 3,576
1 vote
1 answer
317 views

Loop optimization in QB64

Have a loop in QB64 concerning loop optimization: DIM N AS DOUBLE, X(100000000) AS DOUBLE T! = TIMER FOR N = 1 to 100000000 IF X(N) THEN PRINT X(N) EXIT FOR END IF NEXT PRINT ...
eoredson's user avatar
  • 1,165
1 vote
2 answers
716 views

can user qbasic functions return a string?

FUNCTION QUAD_NAME (X, Y, Z AS INTEGER) QUAD_NAME = string_var returns a "illegal string-number conversion" I checked the in IDE help on function command (currently using QB64, but their wiki is ...
Jake Stone's user avatar
0 votes
3 answers
70 views

does 8250 uart require to match modem baud

I am studying modem i/o and am setting the uart through com1: and the base address x03f8 and am wondering if the uart connection to the modem must be equal? I am doing this in QB64.
user avatar
1 vote
1 answer
401 views

Trap Alt-F4 in QB64

I have a utility that has a function called by Alt-F4 but I can't because it closes the window. How can I trap Alt-F4 in QB64? The following code samples shows various ways to check for Alt-F4: REM ...
eoredson's user avatar
  • 1,165
0 votes
0 answers
100 views

Length of titlebar overrun in QB64

Need to know the length of titlebar in QB64 before it overruns length? I am using S$ = "Title" _TITLE S$ where I need to truncate it before displays "..." thanks.
eoredson's user avatar
  • 1,165
2 votes
1 answer
443 views

Why is there a colon in some Programs between 2 statements

I was going through a QB64 tutorial and saw the following program structure for printing numbers from 1 to 10 → FOR x = 1 to 10: PRINT x: NEXT x I have never seen such a kind of QB64 program. ...
Manu's user avatar
  • 109
3 votes
2 answers
3k views

QB64 Console/Display Font Size

I am tutoring someone in my high school in QBasic and the QB64 font is really small making it difficult to edit it. How can I change the font?
Ryan Marvin's user avatar

15 30 50 per page