I' m doing a graphic program with qb. I have to save the buffer of the screen 9 into a file. The problem is that I don' t know which is the offset for the instruction "DEF SEG" and then for the instruction "BSAVE". Can you explain how I can save the buffer?
Thank you so much.
P.S. The resolution of screen 13 is quite small, can it be more big (for example 648 X 480)?
Help with Bsave
Moderators:Administrator, Global Moderator
Re: Help with Bsave
use varpter$ and var seg...
varpter finds the offset, var seg finds the segment.
use the window command
"window screen (1,1)-(1000,1000)"
if you omit the "screen" the numbers will increase like a normal grid, with "screen" the numbering will be backwards like we are all used to in QB
varpter finds the offset, var seg finds the segment.
use the window command
"window screen (1,1)-(1000,1000)"
if you omit the "screen" the numbers will increase like a normal grid, with "screen" the numbering will be backwards like we are all used to in QB