home *** CD-ROM | disk | FTP | other *** search
- clear
- set talk off
- set device to print
- set print on
- ? chr(27)+"IJ"
- set print off
- x1=0
- x2=0
- x3=0
- x4=0
- x5=0
- x6=0
- x7=0
- x8=0
- use hfx1
- p=1
- @ prow()+1,30 say "╕≈╧ε╨╘─▄▒╚╓╪╝╞╦π"
- @ prow()+1,1 say " "
- @ prow()+1,1 say ì
- "=================================================================ì
- ======="
- @ prow()+1,1 say ì
- "|╨╘ ─▄|╛¡╝├╨╘|┐╔┐┐╨╘|╥╫╨▐╨╘|╜┌─▄╨╘|╗╖▒ú░▓╚½╨╘|═¿╙├╨╘|╩╩╙├╨╘|═Γ╣█╨╘|"
- @ prow()+1,1 say ì
- "|----------|------|------|------|------|----------|------|------|------ì
- |"
- do while .not. eof()
- @ prow()+1,1 say ì
- "| ╖╓╓╡"+str(p,2)+" |"+str(h1,6,2)+"|"+str(h2,6,2)+"|"+str(h3,6,2)+"ì
- |"+str(h4,6,2)+"| "+str(h5,6,2)+" ì
- |"+str(h6,6,2)+"|"+str(h7,6,2)+"|"+str(h8,6,2)+"|"
- @ prow()+1,1 say ì
- "|----------|------|------|------|------|----------|------|------|ì
- ------|"
- h=(h1+h2+h3+h4+h5+h6+h7+h8)/100
- @ prow()+1,1 say ì
- "| ░┘╖╓▒╚"+str(p,2)+" |"+str(h1/h,6,2)+"|"+str(h2/h,6,2)+"|"+str(h3/ì
- h,6,2)+"|"+str(h4/h,6,2)+"| "+str(h5/h,6,2)+" ì
- |"+str(h6/h,6,2)+"|"+str(h7/h,6,2)+"|"+str(h8/h,6,2)+"|"
- x1=x1+h1/h
- x2=x2+h2/h
- x3=x3+h3/h
- x4=x4+h4/h
- x5=x5+h5/h
- x6=x6+h6/h
- x7=x7+h7/h
- x8=x8+h8/h
- @ prow()+1,1 say ì
- "|----------|------|------|------|------|----------|------|------|ì
- ------|"
- p=p+1
- skip
- enddo
- p=p-1
- @ prow()+1,1 say ì
- "|╫█║╧░┘╖╓▒╚|"+str(x1/p,6,2)+"|"+str(x2/p,6,2)+"|"+str(x3/p,6,2)+"|"+strì
- (x4/p,6,2)+"| "+str(x5/p,6,2)+" ì
- |"+str(x6/p,6,2)+"|"+str(x7/p,6,2)+"|"+str(x8/p,6,2)+"|"
- @ prow()+1,1 say ì
- "|----------|------|------|------|------|----------|------|------|ì
- ------|"
- x=(x1+x2+x3+x4+x5+x6+x7+x8)/100
- @ prow()+1,1 say ì
- "|╜ß┬█░┘╖╓▒╚|"+str(x1/x,6,2)+"|"+str(x2/x,6,2)+"|"+str(x3/x,6,2)+"ì
- |"+str(x4/x,6,2)+"| "+str(x5/x,6,2)+" ì
- |"+str(x6/x,6,2)+"|"+str(x7/x,6,2)+"|"+str(x8/x,6,2)+"|"
- @ prow()+1,1 say ì
- "=================================================================ì
- ======="
- use hfx2
- dele all
- pack
- appe blank
- repl h1 with x1/x,h2 with x2/x,h3 with x3/x,h4 with x4/x,h5 with ì
- x5/x,h6 with x6/x,h7 with x7/x,h8 with x8/x
- use
- set print on
- ? chr(13)
- set print off
- set device to screen
- retu