using 64+03 is safe ?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

using 64+03 is safe ?

Post by jmburnod »

Hi All,

I see 64+03 = 67 in a stack for Mac
I'm happy with that but is it safe on all platforms or is it more safe to use something else ?

All the best

Jean-Marc
https://alternatic.ch
shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: using 64+03 is safe ?

Post by shaosean »

Are you talking about simple math? Then yes it is fine to use on all platforms..
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: using 64+03 is safe ?

Post by jmburnod »

Hi shaosean,

Thank for reply
Are you talking about simple math? Then yes it is fine to use on all platforms..
Yes. Only to convert "64:03" to number of seconds

Best regards

Jean-Marc
https://alternatic.ch
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: using 64+03 is safe ?

Post by FourthWorld »

jmburnod wrote:Only to convert "64:03" to number of seconds
I don't understand, since 64:00 + 00:03 does not equal 67:00.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: using 64+03 is safe ?

Post by shaosean »

You are looking at converting 64 minutes and 03 seconds to a total number of seconds? 64+03 will not give you the correct answer, (64*60) + 03 will
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: using 64+03 is safe ?

Post by jmburnod »

Hi,

I'm sorry for this confusion.
¥ou're right of course (64*60) + 03 is the good way

Best

Jean-Marc
https://alternatic.ch
Post Reply