Turbo BASIC
|
- This article is about the Borland version of Turbo-Basic. There is an article on Turbo Basic XL - a dialect of BASIC for the Atari 8-bit family.
Turbo BASIC is a BASIC compiler and dialect originally created by Robert 'Bob' Zale and bought from him by Borland. When Borland decided to stop publishing it, Zale bought it back from them, renamed it to PowerBASIC and set up PowerBASIC Inc. 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$nl:TurboBASIC