Is that a number?

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
danielrr
Posts: 142
Joined: Mon Mar 04, 2013 4:03 pm

Is that a number?

Post by danielrr » Sun Jun 15, 2014 7:19 pm

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?

bangkok
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 937
Joined: Fri Aug 15, 2008 7:15 am

Re: Is that a number?

Post by bangkok » Sun Jun 15, 2014 8:35 pm

Weird.

But at least... there is some coherence.

Code: Select all

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

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

Re: Is that a number?

Post by dunbarx » Sun Jun 15, 2014 10:06 pm

Did I hear "weird"?

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

Craig Newman

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm

Re: Is that a number?

Post by [-hh] » Sun Jun 15, 2014 11:48 pm

..........
Last edited by [-hh] on Wed Aug 13, 2014 2:25 pm, edited 1 time in total.
shiftLock happens

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

Re: Is that a number?

Post by dunbarx » Mon Jun 16, 2014 5:00 am

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

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm

Re: Is that a number?

Post by [-hh] » Mon Jun 16, 2014 8:02 am

..........
Last edited by [-hh] on Wed Aug 13, 2014 2:25 pm, edited 1 time in total.
shiftLock happens

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

Re: Is that a number?

Post by dunbarx » Mon Jun 16, 2014 2:04 pm

Hermann.

Hah.

Thanks.

Craig

Post Reply