CRNG
2018-08-15 08:15:18 UTC
Hello All,
I'm looking at a script written in 4nt v7.01 in which there is a
statement:
set bytes_sec = %@eval[%fsize / %secs=0.0]
which is obviously calculating a byte rate by dividing a file size by
seconds. My question is: what does the "0.0" in %secs=0.0 do? I'm
guessing that it replaces the value of %secs with 0.0 _after_ secs is
used in the calculation.
Is that correct?
I'm looking at a script written in 4nt v7.01 in which there is a
statement:
set bytes_sec = %@eval[%fsize / %secs=0.0]
which is obviously calculating a byte rate by dividing a file size by
seconds. My question is: what does the "0.0" in %secs=0.0 do? I'm
guessing that it replaces the value of %secs with 0.0 _after_ secs is
used in the calculation.
Is that correct?
--
Web based forums are like subscribing to 10 different newspapers
and having to visit 10 different news stands to pickup each one.
Email list-server groups and USENET are like having all of those
newspapers delivered to your door every morning.
Web based forums are like subscribing to 10 different newspapers
and having to visit 10 different news stands to pickup each one.
Email list-server groups and USENET are like having all of those
newspapers delivered to your door every morning.