Diagnostics.GetLastErrorMessages() Method

Top 

Description

Reports any error messages suppressed using a Try command since this method was previously called, then calls ClearErrorMessages(). Error messages will consist of the error message and the line number where it occurred.

 

The text of FreeFlyer error messages can change between versions of FreeFlyer, so it is recommended to not build logic around the contents of these messages.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

Diagnostics.GetLastErrorMessages(

)

 

 

Return Value

Type:

Array of string

 

 

Returns a StringArray containing any Error Messages suppressed by a Try command which have not yet been queried.

 

Syntax

myStringArray1 = Diagnostics.GetLastErrorMessages();

 

 

See also

Diagnostics Object