WordBASIC

WordBASIC was a subset of Microsoft QuickBASIC customized for word-processing. It was replaced by Visual Basic for Applications (VBA) when Word 97 was released. Contrarily to VBA, WordBasic was not object-oriented but consisted of a flat list of approximately 900 commands.[1]

WordBASIC
DeveloperMicrosoft
First appeared1989 (1989)
OSMicrosoft Windows, Mac OS X
LicenseCommercial proprietary software
Influenced by
QuickBASIC

Example code

The following code snippets show the difference between WordBasic and VBA with a "Hello, World!" example:[2]

WordBasic:

Sub MAIN
FormatFont .Name = "Arial", .Points = 10
Insert "Hello, World!"
End Sub

VBA:

Public Sub Main()
    With Selection.Font
        .Name = "Arial"
        .Size = 10
    End With
    Selection.TypeText Text:="Hello, World!"
End Sub
gollark: You can quote from them, if you like.
gollark: Well, I've stopped saying things now, so you can respond to them in whatever weird form you'd prefer.
gollark: 1. I have 27000 comment karma and I do not need more.2. The tree-ish threading thing is often annoying.3. You can type at the same speed here.
gollark: Not really. You can type at *exactly* the same speed here.
gollark: As well as everything else I said.

References

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.