home *** CD-ROM | disk | FTP | other *** search
- clear
- set talk off
- set device to screen
- use yl
- ? "╚▌╞≈▒α║┼ ╚▌╞≈├√│╞ └α▒≡ ═Γ╝∞╚╒╞┌ ─┌╝∞╚╒╞┌ ì
- ╚½├µ╝∞▓Θ╚╒╞┌"
- l=2
- do while .not. eof()
- t=yl31
- t=dtoc(t)
- p=yl32
- p=dtoc(p)
- q=yl33
- q=dtoc(q)
- do case
- case t=' / / '
- a=yl9+yl26
- b=yl9+yl27
- c=yl9+yl28
- case p=' / / ' .and. t<>' / / '
- a=yl31+yl26
- b=yl9+yl27
- c=yl9+yl28
- case q=' / / ' .and. p<>' / / '
- a=yl31+yl26
- b=yl32+yl27
- c=yl9+yl28
- otherwise
- a=yl31+yl26
- b=yl32+yl27
- c=yl33+yl28
- endcase
- @ l,1 say " "+yl1
- @ l,7 say " "+yl2
- @ l,20 say " "+yl3
- d=dtoc(a)
- j1=substr(d,7,2)
- j2=substr(d,1,2)
- j3=substr(d,4,2)
- d=j1+'.'+j2+'.'+j3
- @ l,28 say " "+d
- e=dtoc(b)
- j1=substr(e,7,2)
- j2=substr(e,1,2)
- j3=substr(e,4,2)
- e=j1+'.'+j2+'.'+j3
- @ l,42 say " "+e
- f=dtoc(c)
- j1=substr(f,7,2)
- j2=substr(f,1,2)
- j3=substr(f,4,2)
- f=j1+'.'+j2+'.'+j3
- @ l,56 say " "+f
- skip
- l=l+1
- enddo
- wait ' ┤≥╙í┬≡(y/n) ' to w
- if w $ 'y'
- clear
- set device to print
- set print on
- goto top
- set cons off
- ? chr(27)+"IJ"
- set print off
- set cons on
- @ 1,1 say " ╣°┬». ╤╣┴ª╚▌╞≈╝∞╤Θ╝╞╗«▒φ"
- @ 2,1 say " "
- @ 3,1 say ì
- "================================================================"
- @ 4,1 say "|╚▌╞≈▒α║┼ |╚▌╞≈├√│╞ |└α▒≡|═Γ╝∞╚╒╞┌|─┌╝∞╚╒╞┌ |╚½├µ╝∞▓Θ╚╒╞┌|"
- @ 5,1 say ì
- "|---------|------------|----|--------|------------|------------|"
- do while .not. eof()
- t=yl31
- t=dtoc(t)
- p=yl32
- p=dtoc(p)
- q=yl33
- q=dtoc(q)
- do case
- case t=' / / '
- a=yl9+yl26
- b=yl9+yl27
- c=yl9+yl28
- case p=' / / ' .and. t<>' / / '
- a=yl31+yl26
- b=yl9+yl27
- c=yl9+yl28
- case q=' / / ' .and. p<>' / / '
- a=yl31+yl26
- b=yl32+yl27
- c=yl9+yl28
- otherwise
- a=yl31+yl26
- b=yl27+yl32
- c=yl28+yl33
- endcase
- @ prow()+1,1 say "|"+yl1
- @ prow(),pcol() say "|"+yl2
- @ prow(),pcol() say "|"+yl3
- d=dtoc(a)
- j1=substr(d,7,2)
- j2=substr(d,1,2)
- j3=substr(d,4,2)
- d=j1+'.'+j2+'.'+j3
- @ prow(),pcol() say "|"+d
- e=dtoc(b)
- j1=substr(e,7,2)
- j2=substr(e,1,2)
- j3=substr(e,4,2)
- e=j1+'.'+j2+'.'+j3
- @ prow(),pcol() say "|"+e+" "
- f=dtoc(c)
- j1=substr(f,7,2)
- j2=substr(f,1,2)
- j3=substr(f,4,2)
- f=j1+'.'+j2+'.'+j3
- @ prow(),pcol() say "|"+f+" |"
- skip
- if .not. eof()
- @ prow()+1,1 say ì
- "|---------|------------|----|--------|------------|------------|"
- else
- @ prow()+1,1 say ì
- "================================================================"
- endif
- enddo
- set print on
- ? chr(13)
- set print off
- endif
- set device to screen
- a1=.t.
- retu
-
-
-