Loading presentation...

Present Remotely

Send the link below via email or IM


Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.


Simple Menu in SmallBasic

No description

Mark Tranter

on 19 October 2012

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Simple Menu in SmallBasic

Menu Program Here we create 3 arrays to hold the messages that will be printed. Give choice an initial value so that the while loop will run at least once. This will "catch" any other values that the user types. We don't need to check for "q" as that will automatically end the while loop. We used "Array.GetItemCount()" to avoid using a "magic number". The subroutines are all very similar. This way if we add to the messages, this part of the program will work without modification.
Full transcript