home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
norge.freeshell.org (192.94.73.8)
/
192.94.73.8.tar
/
192.94.73.8
/
pub
/
computers
/
cpm
/
alphatronic
/
DRIPAK.ZIP
/
ECA
/
LIST.COM
< prev
next >
Wrap
Text File
|
1999-03-28
|
2KB
|
55 lines
$,CD,1) = " " AND MID$(P$,CD+LE,1) = " " THEN MID$(P$,CD) = N$
650 NEXT DC
660 PRINT TAB(CL-2+TB) P$
670 '
680 IF PF$ <> "Y" THEN GOTO 850
690 P$ = STRING$(PS+3," ")
700 N$ = STR$(LL)
710 MID$(P$,1) = N$
720 N$ = STR$(UL)
730 LE = LEN(N$)
740 PD = PS + 4 - LE
750 IF MID$(P$,PD,1) = " " THEN MID$(P$,PD) = N$
760 FOR DC = 1 TO DV - .1
770 SG = LL + DC * SL / DV
780 N$ = STR$(SG)
790 LE = LEN(N$)
800 PD = PM * ( SG - LL ) + RD + 1
810 IF MID$(P$,PD,1) = " " AND MID$(P$,PD+LE,1) = " " THEN MID$(P$,PD) = N$
820 NEXT DC
830 LPRINT TAB(PL-2+TB) P$
840 '
850 GOSUB 1170
860 '
870 INPUT#1, NU(0), NU(1), NU(2)
880 IF BAD THEN BAD=0 : CLOSE : GOSUB 1170 : GOTO 130
890 IF NU(0)=0 THEN NU(3)=0 : NU(4)=0 ELSE INPUT#1, NU(3),NU(4)
900 '
910 CD = CM * ( NU(FU) - LL ) + RD
920 IF CD < 0 THEN CD = 0
930 IF CD > CS THEN CD = CS
940 P$ = STRING$(CS+1," ")
950 MID$(P$,1) = CHR$(124) : MID$(P$,CS+1) = CHR$(124)
960 IF CG >= CS-1 THEN GOTO 1000
970 FOR DC = CG TO CS-1 STEP CG
980 MID$(P$,DC+1+RD) = "."
990 NEXT DC
1000 MID$(P$,CD+1) = "*"
1010 PRINT NU(0) ; TAB(CL+TB) P$
1020 '
1030 IF PF$ <> "Y" THEN GOTO 870
1040 PD = PM * ( NU(FU) - LL ) + RD
1050 IF PD < 0 THEN PD = 0
1060 IF PD > PS THEN PD = PS
1070 P$ = STRING$(PS+1," ")
1080 MID$(P$,1) = CHR$(124) : MID$(P$,PS+1) = CHR$(124)
1090 IF PG >= PS-1 THEN GOTO 1130
1100 FOR DC = PG TO PS-1 STEP PG
1110 MID$(P$,DC+1+RD) = "."
1120 NEXT DC
1130 MID$(P$,PD+1) = "*"
1140 LPRINT NU(0) ; TAB(PL+TB) P$
1150 GOTO 870
1160 '
1170 '
1180