-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
turbo-basic.scroll
39 lines (33 loc) · 1.33 KB
/
turbo-basic.scroll
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import ../code/conceptPage.scroll
id turbo-basic
name Turbo Basic
appeared 1987
tags pl
centralPackageRepositoryCount 0
lineCommentToken '
hasLineComments true
' A comment
hasComments true
' A comment
hasSemanticIndentation false
wikipedia https://en.wikipedia.org/wiki/Turbo_Basic
example
#Compile Exe ' using either PBCC6 or PBWIN10 compiler
#Dim All
Function PBMain
Local GW As Dword
' start a GRAPHIC WINDOW
Graphic Window New "graphic window", 100, 100, 200, 200 to GW
' show a coloured disc
Graphic Ellipse (10, 10)-(190, 190), %rgb_Red, %rgb_SeaGreen, 0
' wait for a keypress
Graphic Waitkey$
End Function
related turbo-basic-xl turbo-basic basic qbasic quickbasic algol assembly-language x86-isa mmx
summary PowerBASIC, formerly Turbo Basic, is the brand of several commercial compilers by PowerBASIC Inc. that compile a dialect of the BASIC programming language. There are both MS-DOS and Windows versions, and two kinds of the latter: Console and Windows. The MS-DOS version has a syntax similar to that of QBasic and QuickBASIC. The Windows versions use a BASIC syntax expanded to include many Windows functions, and the statements can be combined with calls to the Windows API.
created 2002
backlinksCount 135
pageId 64316
revisionCount 109
dailyPageViews 12
appeared 1989