# pouët.net

## the hell

category: code [glöplog]

so the first lines of my qbasic file are

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.
added on the 2019-12-07 08:05:38 by Parzival
You forgot the quotes.

OPEN "test.gfx" FOR BINARY AS #f%
added on the 2019-12-07 08:50:56 by Optimus
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.
added on the 2019-12-07 08:52:12 by Optimus
I see. Thanks.
added on the 2019-12-07 09:04:10 by Parzival