#115341 - 2004-03-03 11:09 AM
Re: getfileversion not writing to log file
|
Richard H.
Administrator
   
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
There's some KiXtart shorthand going on that you may have missed.
This line is creating an array of filenames called $strFile:
Quote:
$strFile = "appevent.evt","secevent.evt","sysevent.evt"
The next line is simply a For..Next structure which runs for each item in the $strFile array:
Quote:
For each $element in $strFile
On each iteration it assigns the next array element to the variable $element.
This means, that on the first pass $element is "appevent.evt", on the second pass it is "secevent.evt" and so-on.
Les is using the loop twice, once to get some info via FSO, and then again to get some info via KiXtart built-ins.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 1017 anonymous users online.
|
|
|