Page 1 of 1

Binary clock exercise - stays static

Posted: Wed Feb 05, 2014 4:02 pm
by BranFlayk
Hi

This is my first attempt at a proper Livecode program, a binary clock.
Have compiled it, but it just stays static on the time that I ran it in the IDE. To get it to run there, I had to say which function I wanted to run, it didn't just start when changing from pointer tool.

Pretty sure it's something I've done, but not sure where to start looking.

I'm hoping to improve the code at a later point, but just wanted to see if it worked.

Re: Binary clock exercise - stays static

Posted: Wed Feb 05, 2014 7:29 pm
by Simon
Hi BranFlayk,
I was going to make a joke about dyslexia but it occurs to me that would be wrong.
"cardpreopen" should be preOpenCard
and
"cardopen" should be openCard
Easy to mess up on.

Now your stack will work. :)

Simon

Re: Binary clock exercise - stays static

Posted: Wed Feb 05, 2014 9:21 pm
by BranFlayk
Thank you! Have got it working now - feeling like a right fool :oops:
Oh well, it was a learning execise...on to version 2