Keywords
The following words are treated as keywords in Mercury, and have special meaning:
RemObjects Mercury Keywords
AutoReleasePool
– for Cocoa Auto-Release PoolsCheck
– Class ContractsCTryType
– optional variant ofCType
Dynamic
– DynamicEnsure
– Class ContractsExtends
– Extension TypesInvariants
– Class ContractsLazy
– Lazy PropertiesNull
Old
– Class ContractsPtr
– PointersRecord
– RecordsRequire
– Class ContractsZip
– LINQ Operator
Standard Visual Basic.NET™ Keywords
These standard keywords are defined by Microsoft's Visual Basic.NET language, and are also all used by Mercury:
AddHandler
AddressOf
Alias
And
AndAlso
As
Async
Boolean
ByRef
Byte
ByVal
Call
Case
Catch
CBool
CByte
CChar
CDate
CDec
CDbl
Char
CInt
Class
CLng
CObj
Const
Continue
CSByte
CShort
CSng
CStr
CType
CUInt
CULng
CUShort
Custom
Date
Decimal
Declare
Default
Delegate
Dim
DirectCast
Do
Double
Each
Else
ElseIf
End
EndIf
Enum
Erase
Error
Event
Exit
False
Finally
For
Friend
Function
Get
GetType
GetXMLNamespace
Global
GoSub
GoTo
Handles
If
If()
Implements
Imports
In
Inherits
Integer
Interface
Iterator
Is
IsNot
Let
Lib
Like
Long
Loop
Me
Mod
Module
MustInherit
MustOverride
MyBase
MyClass
Namespace
Narrowing
New
Next
Not
Nothing
NotInheritable
NotOverridable
Object
Of
On
Operator
Option
Optional
Or
OrElse
Overloads
Overridable
Overrides
ParamArray
Partial
Private
Property
Protected
Public
RaiseEvent
ReadOnly
ReDim
REM
RemoveHandler
Resume
Return
SByte
Select
Set
Shadows
Shared
Short
Single
Static
Step
Stop
String
Structure
Sub
SyncLock
Then
Throw
To
True
Try
TryCast
TypeOf
Variant
Wend
UInteger
ULong
UShort
Using
When
While
Widening
With
WithEvents
WriteOnly
Xor