home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 1B
/
DATAFILE_PDCD1B.iso
/
_pocketbk
/
pocketbook
/
opl
/
pbm2p008_t
/
pbm2p008_t~
/
conv
/
picview.opl
< prev
next >
Wrap
Text File
|
1994-02-17
|
500b
|
25 lines
proc transmit:
local is%, ib%, ig%, w%, h%, file$(128)
is% = gcreate(0,0,480,160,1, 1)
file$ = "\pic\"
while 1
gcls : ggrey 0 : gcls
dinit "Choose a picture"
dfile file$,"Filename",2
if dialog = 0 : stop : endif
ib% = gloadbit(file$, 0, 0)
ig% = gloadbit(file$, 0, 1)
w% = gwidth : h% = gheight
guse is%
gcopy ib%,0,0,w%, h%, 0 : ggrey 1
gcopy ig%,0,0,w%, h%, 0
gclose ib% : gclose ig%
do
ib% = get
until ib% = 32 or ib% = 13
endwh
endp