BSAVE-BLOAD?
Posted: Sat Jan 15, 2005 8:03 pm
Right, I learned this trick on QB1.1, but I don't know if its 7.1, or if I doing it wrong, but after I BSAVE my pic, I get a Error when I go to BLOAD. I'm not sure what it is, I just get :
QuickBasic Extended has preformed illegial task...
This is what I'm using:
Now heres what I put n my other program to load it...
Then I'll CLS n PUT it on the screen, but when I exit n run again, I get the message like above... It really doesn't matter, I was going to try to use this to cut down on Program Lines so I don't have to make many chains. But, if any one knows what might be the problem, post a reply, .
QuickBasic Extended has preformed illegial task...
This is what I'm using:
Code: Select all
SCREEN 13
DIM pic(100)
DATA 0,0,0,0,0,0,0,0,0,0
DATA 0,0,0,0,0,0,0,0,0,0
DATA 0,0,0,0,0,0,0,0,0,0
DATA 0,0,0,0,0,0,0,0,0,0
DATA 0,0,0,0,0,0,0,0,0,0
DATA 0,0,0,0,0,0,0,0,0,0
DATA 0,0,0,0,0,0,0,0,0,0
DATA 0,0,0,0,0,0,0,0,0,0
DATA 0,0,0,0,0,0,0,0,0,0
DATA 0,0,0,0,0,0,0,0,0,0
FOR y = 1 TO 10
FOR x = 1 TO 10
READ z
PSET (x, y),z
NEXT
NEXT
GET (1, 1)-(10, 10), pic
DEF SEG = VARSEG(pic(0))
BSAVE "Pic.gfx", 0, 10000
DEF SEG
Code: Select all
SCREEN 13
DIM pic(100)
DEF SEG = VARSEG(pic(0))
BLOAD "Pic.gfx", 0
DEF SEG