Text processing/Max licenses in use: Difference between revisions

Content added Content deleted
(→‎{{header|Erlang}}: Marked incorrect.)
m (→‎{{header|Mathematica}}: Delimited the program and its output)
Line 1,286: Line 1,286:
If[LCMax == LC, AppendTo[LCMaxtimes, #[[4]]]],
If[LCMax == LC, AppendTo[LCMaxtimes, #[[4]]]],
LC--;] &, Import["mlijobs.txt", "Table"]]
LC--;] &, Import["mlijobs.txt", "Table"]]
Print["The maximum number of licenses used was ", LCMax, ", at ", LCMaxtimes]
Print["The maximum number of licenses used was ", LCMax, ", at ", LCMaxtimes]</lang>

Output:
<pre>-> The maximum number of licenses used was 99, at {2008/10/03_08:39:34,2008/10/03_08:40:40}</pre>


output:
-> The maximum number of licenses used was 99, at {2008/10/03_08:39:34,2008/10/03_08:40:40}</lang>
=={{header|MAXScript}}==
=={{header|MAXScript}}==
<lang maxscript>fn licencesInUse =
<lang maxscript>fn licencesInUse =