WordBASIC was a subset of Microsoft QuickBASIC customized for word-processing in Microsoft Word.
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.
Developer | Microsoft |
---|---|
First appeared | 1989 |
OS | Microsoft Windows, Mac OS X |
License | Commercial proprietary software |
Influenced by | |
QuickBASIC |
The following code snippets show the difference between WordBasic and VBA with a "Hello, World!" example:
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
This article uses material from the Wikipedia English article WordBASIC, which is released under the Creative Commons Attribution-ShareAlike 3.0 license ("CC BY-SA 3.0"); additional terms may apply (view authors). Content is available under CC BY-SA 4.0 unless otherwise noted. Images, videos and audio are available under their respective licenses.
®Wikipedia is a registered trademark of the Wiki Foundation, Inc. Wiki English (DUHOCTRUNGQUOC.VN) is an independent company and has no affiliation with Wiki Foundation.