XClose
List Archives : http://void.nothingness.org
List Archives

XTension Discussion

Stupid Applescript Mistake, but I can't Find It!

From: George Handley <ghandley-AT-kc.rr.com>
Date: 15 Oct 2014 15:42:27 UTC   (10:42:27 AM in author's locale)
To: List XTension Discussion <xtensionlist-AT-shed.com>
XTensioneers,

I’ve written code like this for a long time without any problems, but for the last several hours if I try to run this line:

write log "The Current 15 Minute Total North Drive Counter Sum Is " & (value of "Max Sonar Driveway Slot 2 North 5 Minute Total") & “."

I get: "Monday, August 4, 2014 4:23:39 PM The Current 15 Minute Total North Drive Counter Sum Is 1.642E+4.”

I am expecting to get: "Monday, August 4, 2014 4:23:39 PM The Current 15 Minute Total North Drive Counter Sum Is 16420.”

But, if I write:

write log (value of "Max Sonar Driveway Slot 2 North 5 Minute Total”)

I correctly get: ”Monday, August 4, 2014 4:25:04 PM 16420”

What am I doing wrong?

Thanks,

George
Next message in thread

Thread

* List Archives

The Graphics ListThe Situationist ListXTension Discussion
 

This site made manifest by Manifesto software

Page executed in 0.018195152282715 seconds.
Loaded 202 classes from 6 of 10 total class files. Read 2 objects from the database. Served 2 items from the cache.
Queries - count: 2 select: 3 update: 1