Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,27 @@
|
|||
max% = 0
|
||||
nlicence% = 0
|
||||
file% = OPENIN("mlijobs.txt")
|
||||
|
||||
WHILE NOT EOF#file%
|
||||
a$ = GET$#file%
|
||||
stamp$ = MID$(a$, 15, 19)
|
||||
IF INSTR(a$, "OUT") THEN
|
||||
nlicence% += 1
|
||||
IF nlicence% > max% THEN
|
||||
max% = nlicence%
|
||||
start$ = stamp$
|
||||
ENDIF
|
||||
ENDIF
|
||||
IF INSTR(a$, "IN") THEN
|
||||
IF nlicence% = max% THEN
|
||||
finish$ = previous$
|
||||
ENDIF
|
||||
nlicence% -= 1
|
||||
ENDIF
|
||||
previous$ = stamp$
|
||||
ENDWHILE
|
||||
CLOSE #file%
|
||||
|
||||
PRINT "Maximum licences checked out = " ; max%
|
||||
PRINT "From " start$ " to " finish$
|
||||
END
|
||||
Loading…
Add table
Add a link
Reference in a new issue