home *** CD-ROM | disk | FTP | other *** search
- ****************************
- * ╬─╝■├√│╞: OXSBB.PRG
- * ╓≈╥¬╣ª─▄: ╞┴─╗╧╘╩╛▒¿▒φ
- ****************************
- priv oi,ok,ol,ox,oy,okd
- set esca off
- set safe off
- okd=2
- ox=1
- sele 10
- use pmxs.lby alia j
- zap
- appe from txt.con sdf
- goto top
- do while .not.eof()
- okd=iif(len(trim(zw))>okd,len(trim(zw)),okd)
- skip
- enddo
- oy=recc()-18
- goto top
- set color to 7/1,,
- @ 3,1 clear to 21,78
- @ 23,1 say space(78)
- @ 23,18 say '╟δ╩╣╙├╣Γ▒Ω╝ⁿ╖¡╘─▒¿▒φ, ^P:┤≥╙í▒¿▒φ Esc╝ⁿ═╦│÷'
- ol=recn()
- oi=3
- do while oi<22
- @ oi,2 say subs(zw,ox,76)
- if .not.eof()
- skip
- endif
- oi=oi+1
- enddo
- do while .t.
- ok=inkey(0)
- do case
- case ok=5.and.ol>1
- ol=ol-1
- goto ol
- call hbk with '03012178U'
- @ 3,2 say subs(zw,ox,76)
- loop
- case ok=24.and.ol<oy
- ol=ol+1
- goto ol
- skip 18
- call hbk with '03012178T'
- @ 21,2 say subs(zw,ox,76)
- loop
- case ok=3.and.ol<oy
- ol=ol+12
- ol=iif(ol>oy,oy,ol)
- case ok=18.and.ol>1
- ol=ol-12
- ol=iif(ol<1,1,ol)
- case ok=4.and.ox<okd-75
- ox=ox+38
- if ox+38>okd-75
- ox=okd-75
- endif
- case ok=19.and.ox>1
- ox=ox-38
- ox=iif(ox<1,1,ox)
- case ok=1
- if ox>1
- ox=1
- else
- loop
- endif
- case ok=27
- sele 1
- return
- case ok=16
- set print to prn
- if sys(13)='READY'
- set cons off
- type txt.con to print
- set cons on
- endif
- loop
- othe
- loop
- endcase
- goto ol
- @ 3,1 clear to 21,78
- ol=recn()
- oi=3
- do while oi<22
- @ oi,2 say subs(zw,ox,76)
- if .not.eof()
- skip
- endif
- oi=oi+1
- enddo
- enddo
- return