This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community
getlasterror-functionBack to topics list |
|
Daniel
2005.01.19 19:50
Hello guys again,
i just try to write an expert in the new language. in your example there is a function getlasterror, but i can't find anything about this function in the library. what does this function, how to use it, what is the output??? Thanks in advance Daniel |
|
Slawa
2005.01.20 11:52
quote from dictionary
=== int GetLastError() Returns last occured error after an operation and sets internal last error value to zero. Sample FileWrite(handle, "Bars total = ", Bars); if(GetLastError()!=0) Alert("Some error message"); === see also our script samples |
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets
