Fwd: Re: Odd data in message box

Mark Wieder ahsoftware at sonic.net
Fri Oct 16 15:34:45 EDT 2020

On 10/16/20 9:57 AM, Dan Friedman wrote:
> Mark,
> THANK YOU for the reply...   Line 2185 is:
> 	put sTime + ((timeOffset*60)*60) into sTime

That's what I thought. The error you're getting (see Jacque's annotated 
list) is pointing to an invalid value for sTime in some iteration of 
that function call. My guess is either sTime is empty or not a numeric 

Try something like this to pinpoint the error:

   if char 1 of timeOffset = "-" then
     put ((timeOffset*60)*60) into pTimeOffset
     put sTime - pTimeOffset into sTime
         put sTime + ((timeOffset*60)*60) into sTime
     catch e
         put the sTime & cr executionContexts & cr after msg
     end try
   end if

  Mark Wieder
  ahsoftware at gmail.com

More information about the use-livecode mailing list