home *** CD-ROM | disk | FTP | other *** search
- clear
- set talk off
- clos data
- set device to screen
- use jc
- k1=' '
- k2=' '
- @ 4,20 say "┤╦╔Φ▒╕╫╝▒╕╙├╝╕─Ω" get k1 pict '99'
- read
- k1=val(k1)
- loca for j6=k1
- x1=j1
- x2=j2
- x3=j3
- x4=j4
- x5=j5
- do case
- case x1<x2 .and. x1<x3 .and. x1<x4 .and. x1<x5
- @ 4,20 say "╛╔╔Φ▒╕╝╠╨°╩╣╙├╩╟║╧└φ╡─úí"
- case x2<x1 .and. x2<x3 .and. x2<x4 .and. x2<x5
- @ 4,20 say "╛╔╔Φ▒╕┤≤╨▐╩╟║╧└φ╡─úí"
- case x3<x1 .and. x3<x2 .and. x3<x4 .and. x3<x5
- @ 4,20 say "╛╔╔Φ▒╕╜°╨╨╝╝╩⌡╕─╘∞╩╟║╧└φ╡─úí"
- case x4<x1 .and. x4<x2 .and. x4<x3 .and. x4<x5
- @ 4,20 say "╣║┬≥╧α═¼╜ß╣╣╡─╨┬╔Φ▒╕╩╟║╧└φ╡─úí"
- case x5<x1 .and. x5<x2 .and. x5<x3 .and. x5<x4
- @ 4,20 say "╣║┬≥╕▀╨º┬╩╡─╨┬╔Φ▒╕╩╟║╧└φ╡─úí"
- endcase
- set cons on
- wait '╗╣╥¬┤≥╙í╛÷▓▀▒φ┬≡ú¿ú┘ú»ú╬ú⌐' to w
- if w<>'y'
- retu
- endif
- set device to print
- set cons off
- set print on
- ? chr(27)+"IJ"
- set print off
- @ prow()+1,20 say "╔Φ▒╕╕ⁿ╨┬╕─╘∞╛÷▓▀▒φ"
- @ prow()+1,1 say " "
- @ prow()+1,1 say ì
- "=================================================================ì
- ============"
- @ prow()+1,1 say "|ú▄╕≈╖╜░╕╡─| | | | ì
- ì
- | |"
- @ prow()+1,1 say "| ú▄ ╧╓╓╡|╛╔ ╔Φ ▒╕ |╛╔ ╔Φ ▒╕|╛╔ ╔Φ ▒╕ |╣║ ì
- ┬≥ ╧α ═¼ì
- |╣║ ┬≥ ╕▀ ╨º|"
- @ prow()+1,1 say "| ú▄ | | | | ì
- | |"
- @ prow()+1,1 say "| ─Ω ╖▌ú▄ ì
- |╝╠ ╨° ╩╣ ╙├|┤≤ ╨▐ └φ|╝╝ ╩⌡ ╕─ ╘∞|╜ß╣╣ ╨┬╔Φ▒╕|┬╩ ╨┬ ╔Φ ▒╕|"
- @ prow()+1,1 say "| ú▄| | | | ì
- | |"
- @ prow()+1,1 say ì
- "|----------|------------|------------|------------|------------|--ì
- ----------|"
- goto 1
- do while .not. eof()
- @ prow()+1,1 say "|"+str(j6,2)
- do case
- case j1<j2 .and. j1<j3 .and. j1<j4 .and. j1<j5
- @ prow(),12 say "|"+str(j1,10)+"*"+" |"+str(j2,10)+" |"+str(j3,10)+" ì
- |"+str(j4,10)+" |"+str(j5,10)+" |"
- case j2<j1 .and. j2<j3 .and. j2<j4 .and. j2<j5
- @ prow(),12 say "|"+str(j1,10)+" |"+str(j2,10)+"*"+" ì
- |"+str(j3,10)+" |"+str(j4,10)+" |"+str(j5,10)+" |"
- case j3<j1 .and. j3<j2 .and. j3<j4 .and. j3<j5
- @ prow(),12 say "|"+str(j1,10)+" |"+str(j2,10)+" ì
- |"+str(j3,10)+"*"+" |"+str(j4,10)+" |"+str(j5,10)+" |"
- case j4<j1 .and. j4<j2 .and. j4<j3 .and. j4<j5
- @ prow(),12 say "|"+str(j1,10)+" |"+str(j2,10)+" ì
- |"+str(j3,10)+" |"+str(j4,10)+"*"+" |"+str(j5,10)+" |"
- case j5<j1 .and. j5<j2 .and. j5<j3 .and. j5 <j4
- @ prow(),12 say "|"+str(j1,10)+" |"+str(j2,10)+" ì
- |"+str(j3,10)+" |"+str(j4,10)+" |"+str(j5,10)+"*"+" |"
- endcase
- skip
- if eof()
- @ prow()+1,1 say ì
- "=================================================================ì
- ============"
- else
- @ prow()+1,1 say ì
- "|----------|------------|------------|------------|------------|-ì
- -----------|"
- endif
- enddo
- @ prow()+1,1 say ì
- "*╬¬╕├─Ω╖▌╕≈╖╜░╕╓╨╫▄╡─╩╣╙├│╔▒╛╫ε╡═╒▀í¬í¬í¬╝┤╫ε╝╤╖╜░╕"
- set print on
- ? chr(13)
- set print off
- set device to screen
- retu
-
-
-