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 ofCTypeDynamic– DynamicEnsure– Class ContractsExtends– Extension TypesInvariants– Class ContractsLazy– Lazy PropertiesNullOld– 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:
AddHandlerAddressOfAliasAndAndAlsoAsAsyncBooleanByRefByteByValCallCaseCatchCBoolCByteCCharCDateCDecCDblCharCIntClassCLngCObjConstContinueCSByteCShortCSngCStrCTypeCUIntCULngCUShortCustomDateDecimalDeclareDefaultDelegateDimDirectCastDoDoubleEachElseElseIfEndEndIfEnumEraseErrorEventExitFalseFinallyForFriendFunctionGetGetTypeGetXMLNamespaceGlobalGoSubGoToHandlesIfIf()ImplementsImportsInInheritsIntegerInterfaceIteratorIsIsNotLetLibLikeLongLoopMeModModuleMustInheritMustOverrideMyBaseMyClassNamespaceNarrowingNewNextNotNothingNotInheritableNotOverridableObjectOfOnOperatorOptionOptionalOrOrElseOverloadsOverridableOverridesParamArrayPartialPrivatePropertyProtectedPublicRaiseEventReadOnlyReDimREMRemoveHandlerResumeReturnSByteSelectSetShadowsSharedShortSingleStaticStepStopStringStructureSubSyncLockThenThrowToTrueTryTryCastTypeOfVariantWendUIntegerULongUShortUsingWhenWhileWideningWithWithEventsWriteOnlyXor