|
EvaluateComplete Event
|
|
|
Applies To
|
BasicTcl Object, AdvancedTcl Object
|
|
Prototype
|
EvaluateComplete(Interpreter As Long, CommandString As String, CommandOutput As String, ErrorLine As Long, Flags As Long, Reserved As Long, Result As Long)
|
|
Input
|
The "Interpreter" parameter, which is a valid interpreter pointer.
The "CommandString" parameter, which contains the command that was evaluated.
The "CommandOutput" parameter, which contains the string result of the evaluation.
The "ErrorLine" parameter, which contains the error line (if any) of the evaluation.
The "Flags" parameter, which could be any of the evaluation flags in the TCLBCommandOptions enumeration.
The "Reserved" parameter, which is reserved for future use and must be zero.
The "Result" parameter, which contains the Tcl result code of the evaluation.
|
|
Output
|
None.
|
|
Returns
|
None.
|
|
COM Results
|
None.
|
|
Side Effects
|
One or more custom commands may be called by the interpreter if the event calls into one of the Evaluate methods again.
The methods of the component should be called with great care from inside this event, otherwise unwanted recursion may occur.
|
|
Description
|
This event is called by the component when the specified evaluation is completed.
The actual evaluation could have been performed by any of the following methods: EvaluateString, EvaluateGlobalString, or EvaluateFile.
|
|
Notes
|
None.
|
|
Example
|
Private WithEvents moTcl As TclBridge.BasicTcl
Private Sub moTcl_EvaluateComplete(Interpreter As Long, ByVal CommandString As String, CommandOutput As String, ErrorLine As Long, ByVal Flags As Long, Reserved As Long, Result As Long) Debug.Print "EvaluateComplete(" & Interpreter & ", '" & CommandString & "', '" & CommandOutput & "', " & ErrorLine & ", " & Flags & ", " & Reserved & ", " & Result & ")" End Sub |