the hell
category: code [glöplog]
so the first lines of my qbasic file are
however I get an error on the "AS #f%" declaration due to type mismatch.
why.
Code:
SCREEN 13
f% = FREEFILE
OPEN test.gfx FOR BINARY AS #f%
however I get an error on the "AS #f%" declaration due to type mismatch.
why.
You forgot the quotes.
OPEN "test.gfx" FOR BINARY AS #f%
OPEN "test.gfx" FOR BINARY AS #f%
I did notice the qb45 will highlight #f% with a type missmatch instead if you do so, so it could be misleading, but with the quotes around the filename it works.
I see. Thanks.