Login [Register]
Don't have an account? Register now to chat, post, use our tools, and much more.
This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's TI-BASIC subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. TI-Basic => TI-BASIC
Author Message
kinkoa


Member


Joined: 28 Jul 2009
Posts: 103

Posted: 23 Nov 2009 09:36:49 am    Post subject:

yesterday i was bored so i decided to make a timer with a loop without the loop it was a 30 second timer

0->C
ClrHome
Lbl 1
For(A,1,18
If A=17
C+1->C
End
Output(4,7,C
If C<31
Then
Goto 1
Else
ClrHome
End
"

111 Bytes

yeah i know its got a For( loop in it but it was only to slow down adding 1 to C and this is a 30 second timer in the center of the screen, i also realize the code sucks but like i said i was bored and was not trying to actually program but a good timer would be

ClrHome
0->C
While (C<31
For(A,1,18
C+(A=17->C
Output(4,7,C
End

74 Bytes Can anyone do better


Last edited by Guest on 01 Jul 2010 10:12:52 am; edited 1 time in total
Back to top
Weregoose
Authentic INTJ


Super Elite (Last Title)


Joined: 25 Nov 2004
Posts: 3976

Posted: 23 Nov 2009 03:18:15 pm    Post subject:

shadowking wrote:
ClrHome
0->C
While (C<31
For(A,1,18
C+(A=17->C
Output(4,7,C
End

74 Bytes Can anyone do better
I can tell right now that you can do better with the Ans variable. Wink

Last edited by Guest on 01 Jul 2010 10:13:09 am; edited 1 time in total
Back to top
GloryMXE7
Puzzleman 3000


Active Member


Joined: 02 Nov 2008
Posts: 604

Posted: 23 Nov 2009 06:18:48 pm    Post subject:

and DelVar's unique property
Back to top
Weregoose
Authentic INTJ


Super Elite (Last Title)


Joined: 25 Nov 2004
Posts: 3976

Posted: 23 Nov 2009 06:47:29 pm    Post subject:

GloryMXE7 wrote:
and DelVar's unique property
Of course, by using Ans, you no longer have a letter variable on which you can even apply DelVar.

Last edited by Guest on 01 Jul 2010 10:12:36 am; edited 1 time in total
Back to top
GloryMXE7
Puzzleman 3000


Active Member


Joined: 02 Nov 2008
Posts: 604

Posted: 23 Nov 2009 09:48:16 pm    Post subject:

oops my mistake
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    »
» View previous topic :: View next topic  
Page 1 of 1 » All times are GMT - 5 Hours

 

Advertisement