Stack Exchange
log in
users (30)
rooms (19)
faq
QBasic
general
5
stars
conversations
schedule
feeds
1
access
QBasic
Discussion of programming in QBasic. QB64 and QuickBASIC 4.5 are also welcome.
2584d ago –
Taylor Scott
351
6
info
export
all events for this room
Starred posts
DLosc
Jun 29, 2018 16:37
And actually, QBasic 1.1 allows saving another byte, since it auto-adds a semicolon after
?TAB(i)
.
DLosc
Jun 19, 2018 20:17
Yeah--near as I can tell,
SPC
does the same thing as
SPACE$
, except it's golfier and you can only use it in a
PRINT
statement.
ASCII-only
Jun 19, 2018 05:46
i would have already if i wasn't super lazy >_>
DLosc
Jun 6, 2018 21:15
Aaand yep,
math can replace the
IF
statement
: assign the condition
k>=2^j
to a variable (I used
o
, mnemonic "one bit") and then do
s=s-o:k=k+o*2^j
DLosc
May 31, 2018 20:35
Useful links:
Ways to run QBasic
|
QB64 download
|
QBasic interpreter on archive.org
|
Tips question