If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!
Moderators: Pete , Mods
lurah-
Veteran
Posts: 206 Joined: Mon Nov 01, 2004 10:47 am
Location: Finland
Contact:
Post
by lurah- » Fri Dec 03, 2004 12:10 am
' 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]
Nodtveidt
Veteran
Posts: 826 Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:
Post
by Nodtveidt » Fri Dec 03, 2004 8:13 pm
What the hell? Hello, this isn't C, this is BASIC. You don't represent hex with 0x, you represent it with &H.
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.
SCREEN 12 sucks anyways.
lurah-
Veteran
Posts: 206 Joined: Mon Nov 01, 2004 10:47 am
Location: Finland
Contact:
Post
by lurah- » Fri Dec 03, 2004 10:59 pm
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.
Yeah, well, i dumped that bsave and load anyway. Ill read screen different way now.