Errors, bugs, questions - page 1651

 
Karputov Vladimir:
First forgot, then edited the same file on a different device - and there's a version conflict ready !

Yeah yeah yeah okay, what's next???

That there's no error right ?

 
Vladimir Pastushak:

Yeah yeah yeah okay, what's next???

There's no margin for error?

Why, a person can make a mistake. But here is a mistake of the USER, not of the MQL/Storage.
 
Karputov Vladimir:
Why, a human being can make a mistake. But here is a USER error, not an MQL/Storage error.

There is a developer error here, namely not thinking through the system.

I suspect that mt 4/5 developers themselves don't use storage, otherwise after 1-2 human errors they would make it (storage) adequate...

 
Vladimir Pastushak:

There is a developer error here, namely not thinking through the system.

I suspect that mt 4/5 developers themselves don't use storage, otherwise after 1-2 human errors they would have made it (storage) adequate...

Keep thinking like that :).

 

Execution error in Optimize=1 and/or debug mode.

class A
{
public:  
  bool operator ==( int i ) { return(true); }
};

A* f() { return(NULL); }

int OnStart()
{
  return(f() == 0); // Optimize=1 or _DEBUG - invalid pointer access. Optimize=0 and _RELEASE - no problem.
}

Why can't static operators be declared?

How do I know the value of the Optimize compiler key in MQL?

 
"Hi, encountered the following problem in personal messages on the site.
When you use <= in a message and then a few paragraphs later >=
all text within these characters is deleted."

The site spontaneously deletes part of the message.
Thesite also spontaneously changes 'double quotes' to 'single quotes'

Example:
'Hi, encountered the following problem in posts to the site.
When you write a message and use the =
symbol, all text within those characters is deleted.'
 
fxsaber:
Lifecycle
The backtest is based on the fact that transactions made after the backtest are not counted in the tester's statistical report.
 
Vladimir Pastushak:

There is a mistake on the part of the developers here, namely not thinking through the system.

There are plenty of version control systems out there, you don't have to use the built-in one at all.

In general, without details, it looks as if someone is shifting from bad to worse.

 

Error during execution

//Script1.mq5
typedef void (*fn)();
#import "Script2.ex5"
        void h();
#import
void OnStart()
{
        h();
        fn f = h;
        f();
}
//Script2.mq5
#property library
void h() export { Print( __FUNCSIG__ ); }

Result (as if there was no export):

2016.08.25 15:48:10.489 Script1 (EURUSD,M15) unresolved import function call
2016.08.25 15:48:10.489 Script1 (EURUSD,M15) Cannot find 'h' in 'Script2.ex5'
2016.08.25 15:48:10.488 Script1 (EURUSD,M15) void h()

In a more complex version reproduces as: EX5 loading failed

 
Комбинатор:

There are plenty of version control systems out there, you don't have to use the built-in one at all.

In general, without details, it looks like someone is shifting from bad to worse.

I can't understand your post ...

Is it really that hard to make a system that in the case of an error, makes a request to the user and explain what the user does wrong?

Is it really that hard?

I understand why people don't write about problems, people just don't use Storage )))))))))))))).

It's not possible to use....

Reason: