ResetLastError

Description

Sets the value of the predefined variable _LastError to zero.

Syntax

void ResetLastError();

Parameters

This function takes no parameters.

Return Value

This function does not return a value.

Notes

  • The GetLastError() function also zeros the _LastError variable.
  • This function is part of the Common Functions category in MQL4.
  • Related Functions

  • GetLastError()
  • PrintFormat()
  • ResourceCreate()