Page 1 of 1

Is that a number?

Posted: Sun Jun 15, 2014 7:19 pm
by danielrr
On LiveCode Community 6.5 on a Mac, you type

Code: Select all

if ". " is a number then beep
or even

Code: Select all

if ".   " is a number then beep
And your computer beeps. Why is it?

Re: Is that a number?

Posted: Sun Jun 15, 2014 8:35 pm
by bangkok
Weird.

But at least... there is some coherence.

Code: Select all

put ". " into tTest
add 2 to tTest
answer tTest
:)

Re: Is that a number?

Posted: Sun Jun 15, 2014 10:06 pm
by dunbarx
Did I hear "weird"?

Space alone is not a number, nor is just a period. But any combination is. Where is Jacque?

Craig Newman

Re: Is that a number?

Posted: Sun Jun 15, 2014 11:48 pm
by [-hh]
..........

Re: Is that a number?

Posted: Mon Jun 16, 2014 5:00 am
by dunbarx
I should have said, "where is Hermann?"

This is a bug. It may not matter much, but is a bug.

Hermann. I am having trouble seeing how ". " is a synonym for ".0". I was fascinated by that statement. Can you explain?

Craig

Re: Is that a number?

Posted: Mon Jun 16, 2014 8:02 am
by [-hh]
..........

Re: Is that a number?

Posted: Mon Jun 16, 2014 2:04 pm
by dunbarx
Hermann.

Hah.

Thanks.

Craig