The other question is if 1 second is fine enough resolution.  Presumably it is 
if string time is adequate.  

And yes, the current clock values are maintained in RAM somewhere.  The 
question becomes the time for a single string = operation vs. multiple RAM 
address reads from BASIC.

Ken

Sent from my iPhone

> On Apr 1, 2016, at 7:13 PM, David Boyd <[email protected]> wrote:
> 
> Clarify some things please:
> 
> What is the max interval?
> Is the max interval longer than 24 hours? If so, we need date also.
> Do you want shortest, or fastest, or best compromise?
> 
> Questions for the more experienced among us:
> 
> Is there some memory location where the system time is available as a number? 
> If so, we would prefer that. Even a tick count would be handy. 
>> On Fri, Apr 1, 2016 at 21:59 John Whitton <[email protected]> wrote:
>> I suppose I could lamely offer this as a challenge, but the fact is that I 
>> am just lazy, and am wondering how others would go about it.
>>  
>> The issue is the shortest code that will collect (as a character string, 
>> H:M:S) the difference between two clock readings, in hours, minutes and 
>> seconds. The crux of the matter is the capture of interval between randomly 
>> occurring events.
>>  
>> Assume
>> A$=TIME$    'First event
>> B$=TIME$    'Second event

Reply via email to