C1Awk Reference > C1Awk Properties > PercentDone Property |
Returns the percentage of the current file that has been scanned.
val% = [form!]C1Awk.PercentDone
This property was designed to provide a convenient way to report progress while processing long files. It can be used, for example, with the Elastic's FloodPercent property.
For example:
Example Title |
Copy Code
|
---|---|
' inform the user and keep the UI alive while scanning files
Private Sub awk_Scan()
el.FloodPercent = awk.PercentDone
DoEvents
End Sub
|
Integer