Function FaultSelector

 

Function FaultSelector( ByRef vnFltIndex() as Long,  _

                        ByVal sTitle$, ByVal sPrompt$ )  As Long

Purpose: Display fault selection dialog.

Works in:      OneLiner only.

Parameters:     

sTitle       [in] Dialog title.

sPrompt      [in] Dialog prompt.

vnFltIndex [out] List of fault index numbers that the user selected. Array index is zero-based.

Return value:

Number of fault selected.

Remarks:

Array vnFltIndex dimension must be adequate to store user selection.

Example:

 

nCount = FaultSelector( nFltIdx, "My Fault Selector", "Please Select One Fault" )