06-05-2005, 06:59 AM
i made another update with save (not working). i finally got around to updating. i can't get the save (which i completly ripped from pyrokid) to work (big surprise).
[syntax="qbasic"]IF press$ = "save" THEN
CLS
PRINT "bitmap file name:": INPUT ; filename$
CLS
OPEN "pic.bmp" FOR OUTPUT AS #1
FOR iiy = 0 TO bry
FOR iix = 0 TO brx
WRITE #1, col(brx, bry)
NEXT
NEXT
CLOSE #1
CLS
PUT (0, 0), ss1, PSET
PUT (160, 0), ss2, PSET
PUT (0, 100), ss3, PSET
PUT (160, 100), ss4, PSET
END IF
[/syntax]
[syntax="qbasic"]IF press$ = "save" THEN
CLS
PRINT "bitmap file name:": INPUT ; filename$
CLS
OPEN "pic.bmp" FOR OUTPUT AS #1
FOR iiy = 0 TO bry
FOR iix = 0 TO brx
WRITE #1, col(brx, bry)
NEXT
NEXT
CLOSE #1
CLS
PUT (0, 0), ss1, PSET
PUT (160, 0), ss2, PSET
PUT (0, 100), ss3, PSET
PUT (160, 100), ss4, PSET
END IF
[/syntax]
quote="whitetiger0990"]whitetiger is.. WHITE POWER!!! [/quote]
Here
Here