docs

Home All functions Legacy functions Categories

vuDiagnosticsClearLogs()

Purpose

Deletes the current diagnostics log file when it exists.

Export name

Clarion prototype

Prototype: vuDiagnosticsClearLogs(), SIGNED, PROC, PASCAL, RAW, NAME(‘vuDiagnosticsClearLogs’)

Return value

Example (Clarion)

rc LONG

rc = vuDiagnosticsClearLogs()
IF rc = 0
  MESSAGE('Diagnostic logs were not cleared: ' & vuMailLastError())
END

Notes

Preferred clear function

vuClearDiagnosticsLog() is also available as the preferred diagnostics clear function name.

Home All functions Legacy functions Categories