in reply to simplish script (I think)
You should be using
print "difference is " . $array[$counter] - $array[$counter - 1];
print "difference is " . $array[$#array] - $array[-2] , "\n";
See correction below
"Imaginary friends are a sign of a mental disorder if they cause distress, including antisocial behavior. Religion frequently meets that description"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: simplish script (I think)
by jeffenstein (Hermit) on Sep 25, 2020 at 08:10 UTC | |
by NetWallah (Canon) on Sep 25, 2020 at 15:04 UTC |