Click or drag to resize

IErrorLine Property

Gets the line number of the file which caused the syntax or execution error.

Namespace: WinWrap.Basic.Server
Assembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntax
int Line { get; }

Property Value

Int32
The line number of the file which caused the syntax or execution error.
Remarks
A value of 0 indicates that there is no error line available.

This property works in conjunction with the other error properties to allow your application access to the source of a WinWrap Basic syntax or execution error.

Example
Display the error line during the ErrorAlert event:
private void basicIdeCtl1_ErrorAlert(object sender, System.EventArgs e)
{
    MessageBox.Show("Error.Line = " + basicIdeCtl1.Error.Line);
}
See Also