Text processing/Max licenses in use: Difference between revisions

(added Bracmat)
Line 1,626:
2008/10/03_08:40:40
</pre>
=={{header|Runbasic}}==
<lang runbasic>open "c:\data\temp\logFile.txt" for input as #f
while not(eof(#f))
line input #f, a$
if word$(a$,2," ") = "IN" then count = count - 1 else count = count + 1
maxCount = max(maxCount,count)
wend
open "c:\data\temp\logFile.txt" for input as #f
while not(eof(#f))
line input #f, a$
if word$(a$,2," ") = "IN" then count = count - 1 else count = count + 1
if count = maxCount then theDate$ = theDate$ + " | " + word$(a$,4," ") + " Job:";word$(a$,7," ")
wend
print maxCount;" ";theDate$</lang>
 
=={{header|Seed7}}==
Anonymous user