home *** CD-ROM | disk | FTP | other *** search
- 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
-
-
-