Syntax 4 For trace files
Description
Closes an open trace file.
Controls
TraceFile objects
Syntax
|
1 |
<span>instancename</span>.<span>Close</span> ( ) |
|
Argument |
Description |
|---|---|
|
instancename |
Instance name of the TraceFile object |
Return Values
ErrorReturn. Returns one of the following values:
-
Success! – The function
succeeded -
FileNotOpenError! – A trace file has not
been opened
Usage
You use the Close function to close a trace
file you previously opened with the Open function.
You use the Close and Open functions
as well as the properties and functions of the TraceFile object
to access the contents of a trace file directly. You use these functions
if you want to perform your own analysis of the tracing data instead
of building a model with the Profiling or TraceTree object and the BuildModel function.
Examples
This example closes a trace file:
|
1 |
ift_file.<span>Close</span>() |
|
1 |
DESTROY ift_file |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest