A quick Tut! [was: help needed-- probably a scoping problem]
A quick Tut! [was: help needed-- probably a scoping problem]
- Subject: A quick Tut! [was: help needed-- probably a scoping problem]
- From: Nigel Garvey <email@hidden>
- Date: Tue, 22 May 2001 18:39:33 +0100
Ken Victor wrote on Fri, 18 May 2001 16:39:42 -0700:
>
at time 3 however, the dialogs show both variables to have the same
>
values that they had at time 2 and don't reflect any changes made by
>
running the script main. this is not what i was expecting and is
>
causing me all sorts of problems. am i doing something wrong? is this
>
a scoping problem of some sort? and if so, could someone please
>
explain this to me?
I researched and started to reply to this, even quoting Scott's
explanation from the previous digest - until closer inspection showed
that Scott's reply was in fact to this very query. Why does this list
server hoard some posts for so long? How are digest readers supposed to
follow or take part in discussions when replies are sent out seven and a
half hours before the items to which they refer? Even worse:
set dateOfKensQuery to (date "Friday, 18 May 2001 16:39:42") + 7 * hours
set dateOfDigest to (date "Tuesday, 22 May 2001 15:05:00") - 1 * hours
set timeDifference to dateOfDigest - dateOfKensQuery
set daysDiff to result div days
set hoursDiff to timeDifference mod days div hours
set minsDiff to timeDifference mod hours div minutes
set theImplication to "Ken's query was hoarded on the list server for
about " & ,
daysDiff & " days " & hoursDiff & " hours and " & minsDiff & ,
" minutes before the digest containing it was dispatched."
Interestingly, the date given for Ken's query in the digest is nearly 16
hours earlier than the one quoted in Scott's reply....
NG