home *** CD-ROM | disk | FTP | other *** search
- clear
- set talk off
- set device to screen
- close database
- sele 1
- use sg
- sele 2
- use sb index sb1
- sele 3
- use yin index yin1
- clear
- a=' '
- b=' '
- @ 4,10 say "╞≡╩╝╚╒╞┌" get a pict '99.99.99'
- @ 5,10 say "╓╒╓╣╚╒╞┌" get b pict '99.99.99'
- read
- j1=substr(a,4,2)
- j2=substr(a,7,2)
- j3=substr(a,1,2)
- a=j1+'/'+j2+'/'+j3
- a=ctod(a)
- j1=substr(b,4,2)
- j2=substr(b,7,2)
- j3=substr(b,1,2)
- b=j1+'/'+j2+'/'+j3
- b=ctod(b)
- set device to print
- set print on
- set cons off
- ? chr(27)+"IJ"
- set print off
- set cons on
- @ prow()+1,40 say "╔Φ▒╕╩┬╣╩├≈╧╕"
- c=p100
- @ prow()+1,99 say "╠ε▒φ╚╒╞┌:"+c
- @ prow()+1,1 say ì
- "=================================================================ì
- ========================================================"
- @ prow()+1,1 say "|╨≥║┼|╔Φ▒╕▒α║┼ |╔Φ▒╕├√│╞ ì
- |╖ó╔·╩▒╝Σ|╩┬╣╩└α▒≡|╩┬╣╩╘¡╥≥ |╓▒╜╙╦≡╩º |╝Σ╜╙╦≡╩º |╨▐╕┤╖╤ ì
- |═ú╗·╩▒╝Σ|╓≈╥¬╘≡╚╬╒▀|"
- @ prow()+1,1 say ì
- "|----|---------|----------------|--------|--------|----------ì
- ------|----------|----------|----------|--------|----------|"
- sele 1
- d=1
- loca for sg2>=a .and. sg2<=b
- do while .not. eof()
- @ prow()+1,1 say "|"+str(d,3)
- @ prow(),6 say "|"+sg1
- e=sg1
- sele 2
- seek e
- @ prow(),16 say "|"+sb3
- sele 1
- e=dtoc(sg2)
- j1=substr(e,7,2)
- j2=substr(e,1,2)
- j3=substr(e,4,2)
- e=j1+'.'+j2+'.'+j3
- @ prow(),33 say "|"+e
- do case
- case sg3='1'
- e='╠╪┤≤╩┬╣╩'
- case sg3='2'
- e='╓╪┤≤╩┬╣╩'
- case sg3='3'
- e='╥╗░π╩┬╣╩'
- otherwise
- e=' '
- endcase
- @ prow(),42 say "|"+e
- e=sg4
- sele 3
- seek e
- e=yin2
- @ prow(),51 say "|"+e
- sele 1
- @ prow(),68 say "|"+str(sg9,10,2)
- @ prow(),79 say "|"+str(sg10,10,2)
- @ prow(),90 say "|"+str(sg11,10,2)
- @ prow(),101 say "|"+str(sg6,6,2)
- @ prow(),110 say "|"+sg5+" |"
- cont
- d=d+1
- if .not. eof()
- @ prow()+1,1 say ì
- "|----|---------|----------------|--------|--------|--------------ì
- --|----------|----------|----------|--------|----------|"
- else
- @ prow()+1,1 say ì
- "=================================================================ì
- ========================================================"
- endif
- enddo
- set print on
- ? chr(13)
- set print off
- set device to screen
- retu
-
-
-
-