home *** CD-ROM | disk | FTP | other *** search
- clear
- set talk off
- @ 4,20 say "╒²╘┌┤≥╙íú¼╟δ╔╘║≥úí"
- set cons off
- set device to print
- set print on
- ? chr(27)+"IJ"
- set print off
- use hfx2
- 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()
- if recno()=1
- @ prow()+1,1 say "|▒╚ ì
- ╓╪úÑ|"+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)+"|100úÑ |"
- @ prow()+1,1 say ì
- "|----------|------|------|------|------|----------|------|------|ì
- ------|------|"
- else
- h=h1+h2+h3+h4+h5+h6+h7+h8
- @ 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)+"|"+str(h,6,2)+"|"
- @ prow()+1,1 say ì
- "|----------|------|------|------|------|----------|------|------|ì
- ------|------|"
- p=p+1
- endif
- skip
- enddo
- p=p-1
- sum h1,h2,h3,h4,h5 to x1,x2,x3,x4,x5 for recno()<>1
- sum h6,h7,h8 to x6,x7,x8 for recno()<>1
- goto 1
- x1=0.01*x1*h1/p
- x2=0.01*x2*h2/p
- x3=0.01*x3*h3/p
- x4=0.01*x4*h4/p
- x5=0.01*x5*h5/p
- x6=0.01*x6*h6/p
- x7=0.01*x7*h7/p
- x8=0.01*x8*h8/p
- x=x1+x2+x3+x4+x5+x6+x7+x8
- @ prow()+1,1 say ì
- "|╒█▒╚╓╪╫▄╖╓|"+str(x1,6,2)+"|"+str(x2,6,2)+"|"+str(x3,6,2)+"|"+strì
- (x4,6,2)+"| "+str(x5,6,2)+" ì
- |"+str(x6,6,2)+"|"+str(x7,6,2)+"|"+str(x8,6,2)+"|"+str(x,6,2)+"|"
- @ prow()+1,1 say ì
- "=================================================================ì
- =============="
- set print on
- ? chr(13)
- set print off
- set cons on
- set device to screen
- retu
-
-