BasicNoUIObjSyntaxCheck Method |
Checks for syntax errors.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxpublic bool SyntaxCheck()
Public Function SyntaxCheck As Boolean
public:
virtual bool SyntaxCheck() sealed
Return Value
Boolean
True if the
Code property doesn't have any syntax errors.
Implements
IBasicNoUISyntaxCheck
RemarksSyntaxCheck parses the code to check for possible errors.
This will include any #uses code as well.
Example
Syntax check button:
if (basicIdeCtl1.SyntaxCheck())
MessageBox.Show("Code does not any have syntax errors.");
Private Sub SyntaxButtonClick ( )
If BasicIdeCtl1.SyntaxCheck Then
MessageBox.Show("Code does not any have syntax errors.")
End If
End Sub
if (basicIdeCtl1->SyntaxCheck())
MessageBox::Show(L"Code does not any have syntax errors.");
See Also