Screen 12 : Width 80,60 (bsave and bload)

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!
Post Reply
User avatar
lurah-
Veteran
Posts: 206
Joined: Mon Nov 01, 2004 10:47 am
Location: Finland
Contact:

Screen 12 : Width 80,60 (bsave and bload)

Post by lurah- »

' Start

Screen 12 : Width 80,60
Locate 10,10:Print "Something funny should happen"
DefSeg = 0xA000
Bsave "Something.tmp", 0 , 9600
Sleep 2
Cls
Bload "Something.tmp",0
Sleep 2

' End

"Expected:expression or end of statement"?

[edit]

Forget this. Ill use screen 0

[/edit]
:lol:
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt »

What the hell? Hello, this isn't C, this is BASIC. You don't represent hex with 0x, you represent it with &H. :P Also, you might want to know that SCREEN 12 is a planar mode and you have to switch planes several to get an entire screen dump...it will also take four files to do. :D SCREEN 12 sucks anyways.
User avatar
lurah-
Veteran
Posts: 206
Joined: Mon Nov 01, 2004 10:47 am
Location: Finland
Contact:

Post by lurah- »

Nekrophidius wrote:What the hell? Hello, this isn't C, this is BASIC. You don't represent hex with 0x, you represent it with &H. :P
:lol: :oops:

Yeah, well, i dumped that bsave and load anyway. Ill read screen different way now.
Post Reply