BasicNoUIObjBlockedKeywords Property |
Gets or sets the blocked keywords.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxpublic string BlockedKeywords { get; set; }
Public Property BlockedKeywords As String
Get
Set
public:
virtual property String^ BlockedKeywords {
String^ get () sealed;
void set (String^ value) sealed;
}
Property Value
String
The blocked keywords.
Implements
IBasicNoUIBlockedKeywords
Remarks
Built-in instructions and functions can be blocked using this property.
Usually blocking is done for one of two reasons:
-
Prevent the user from using instructions and functions that are unsafe.
-
Prevent new resevered words from interfering with legacy code.
Each keyword is separated by one space.
These special "names" block specific language features:
-
#Reference: blocks '#Reference
-
#Uses: blocks '#Uses
Example
Declare and Shell are not available in macros:
basicIdeCtl1.BlockedKeywords = "Declare Shell";
BasicIdeCtl1.BlockedKeywords = "Declare Shell"
basicIdeCtl1->BlockedKeywords = L"Declare Shell";
See Also