| |||||||||||||||
| |||||||||||||||
| getLog | Lecture de la log | |||||||||
| Syntaxe | getLog(cas) | |||||||||
| Paramètres |
| |||||||||
| Fonctions util. |
|
| Code Perl |
sub getLog {local($cas) = @_;
local($nomFic,$n);
$nomFic = $nomLog0.$cas."Num".$nomType;
$n = (-s $nomFic);
return $n; return 0
}
|
| Code JavaScript |
function getLog(cas) {
var nomFic,n;
nomFic = nomLog0+cas+"Num"+nomType;
n = eval(nomFic).length;
return n; return 0
}
|