Keyword is a word or symbol recognized as part of the ConceptDraw
Basic programming language; for example, a statement, function name, or operator.
Some keywords can be met in several different constructions of the language.
These keywords are listed in the table below:
Keyword | Context of usage |
As | Const Statement, Declare Statement, Dim Statement, Function Statement, Name Statement, Open Statement, ReDim Statement, Static Statement, Sub Statement |
ByRef | Declare Statement, Function Statement, Sub Statement |
ByVal | Declare Statement, Function Statement, Sub Statement |
Date | Date Data Type, Date Function, Date Statement |
Else | If...Then...Else Statement, Select Case Statement |
Empty | The Empty keyword is used as a Variant subtype. It indicates an uninitialized variable value. |
Error | Error Function, Error Statement, On Error Statement |
False | The False keyword has a value equal to 0. |
For | For...Next Statement, Open Statement |
Input | Input Function, Input Statement, Line Input Statement, Open Statement |
Is | Is Operator, Select Case Statement |
Len | Len Function, Open Statement |
Mid | Mid Function, Mid Statement |
New | Dim Statement, Set Statement, Static Statement |
Next | For...Next Statement, On Error Statement, Resume Statement |
Nothing | The Nothing keyword is used to disassociate an object variable
from an actual object. Use the Set statement to assign Nothing to an object
variable. For example:
Set MyObject = Nothing Several object variables can refer to the same actual object. When Nothing is assigned to an object variable, that variable no longer refers to an actual object. |
Null | The Null keyword is used as a Variant subtype. It indicates that a variable contains no valid data. |
On | On Error Statement, On...GoSub Statement, On...GoTo Statement |
Resume | On Error Statement, Resume Statement |
Seek | Seek Function, Seek Statement |
Static | Function Statement, Static Statement, Sub Statement |
String | String Data Type, String Function |
Time | Time Function, Time Statement |
To | For...Next Statement, Select Case Statement |
True | The True keyword has a value equal to 1 for arithmetical operations and -1 for logical operations. |