open encyclopedia * Article Search: * *
*
*

Turbo BASIC

From open-encyclopedia.com - the free encyclopedia.

Turbo BASIC is a BASIC compiler and dialect originally created by Bob Zales and bought from him by Borland. When Borland decided to stop publishing it, Zales bought it back from them, renamed it to PowerBASIC and set up the PowerBASIC company to continue support and development of it. It is still sold today.

Code sample

INPUT "What is your name"; A$
PRINT "Hello "; A$
DO
  S$ = ""
  INPUT "How many stars do you want to print"; S
  FOR I = 1 TO S
    S$ = S$ + "*"
  NEXT I
  PRINT S$
  DO 
    INPUT "Do you want to print more stars"; Q$
  LOOP WHILE LEN(Q$) = 0
  Q$ = LEFT$(Q$, 1)
LOOP WHILE (Q$ = "Y") OR (Q$ = "y")
PRINT "Goodbye "; A$
Contribute Found an omission? You can freely contribute to this Wikipedia article. Edit Article
Copyright © 2003-2004 Zeeshan Muhammad. All rights reserved. Legal notices. Part of the New Frontier Information Network.