Shop OBEX P1 Docs P2 Docs Learn Events
How can I make this count from 60 to 0? — Parallax Forums

How can I make this count from 60 to 0?

twgundersontwgunderson Posts: 2
edited 2013-10-15 13:34 in BASIC Stamp
I am a student faced with the challenge of making this program count from 0 to 60, and then from 60 to 0. I completed the first process, but my class and I are all stumped. Any ideas and suggestions would be very much appreciated.

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2013-10-15 09:45
    What's the difference between counting from 0 to 60 and counting from 60 to 0? Think about what each of the statements do in terms of the goal you want to accomplish. Statements that affect the display are probably not going to change for example.

    This is why comments can be very useful. The best comments are those that explain what you're doing ... in terms of your overall goals.
  • GenetixGenetix Posts: 1,752
    edited 2013-10-15 13:34
    You can also put your data in an array or inside the LOOKUP and LOOKDOWN commands.
Sign In or Register to comment.