put the long seconds into tThisFrameTime

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
chris25
Posts: 354
Joined: Tue Oct 08, 2013 9:32 pm

put the long seconds into tThisFrameTime

Post by chris25 » Wed Nov 20, 2013 9:03 pm

The dictionary and my understanding are limited to date time id name file, but please, what on earth is a long second - jokes welcome.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10331
Joined: Wed May 06, 2009 2:28 pm

Re: put the long seconds into tThisFrameTime

Post by dunbarx » Wed Nov 20, 2013 9:05 pm

Chris, if you have read the dictionary entry on seconds, you should have not been able to wait to try these two in the message box:

answer the seconds
answer the long seconds.

This would lead you to thinking about such things as the "ticks" and the "milliseconds".

Craig

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: put the long seconds into tThisFrameTime

Post by FourthWorld » Wed Nov 20, 2013 9:11 pm

When you look up the "seconds" function in the Dictionary, you'll find this note relating to the "long" option:
If the long seconds form is used, the seconds function returns a positive number with up to six digits after the decimal point.
...
The long seconds form returns a value with a precision to a millionth of a second. However, this value is not normally accurate past the third decimal place because of processor delays.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

chris25
Posts: 354
Joined: Tue Oct 08, 2013 9:32 pm

Re: put the long seconds into tThisFrameTime

Post by chris25 » Wed Nov 20, 2013 9:18 pm

Guys I am truly sorry. You have no idea how I have set up camp inside that dictionary over the last two days, and I "assumed" I knew what a second was, obviously and so when I saw this my attention was drawn only to looking up long, and then working it out and not thinking that I should look up seconds again. Thankyou.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: put the long seconds into tThisFrameTime

Post by FourthWorld » Wed Nov 20, 2013 10:05 pm

Thanks for noting what you were searching for. While it's possible to find "long seconds" when looking for "seconds", it would be nice if the entry for the "long" keyword also included at least a reference to the "seconds" function - I just submitted a request for that:
http://quality.runrev.com/show_bug.cgi?id=11483
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

chris25
Posts: 354
Joined: Tue Oct 08, 2013 9:32 pm

Re: put the long seconds into tThisFrameTime

Post by chris25 » Wed Nov 20, 2013 10:18 pm

Oh, ok then, that's nice.

Post Reply