getlasterror-function
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
===
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
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