Errors, bugs, questions - page 3022

 
Roman:

Probably because there is no [out] dynamic array inCharArrayToString.
And the developer decided that this was unnecessary.

The resulting string is also a kind of dynamic array

Roman:

Different logic in similar functions, though, introduces more confusion.

MegaGenius!

 
A100:

The resulting string is also a kind of dynamic array

MegaGenius!

The result string, is generated in the function itself, and the user does not have access to the generation logic.
This is the developer side. Distinguish between segments, where is the developer side and where is the user side.
The dynamic array[out], is the user area. The dynamic array inside the function is not our concern, it's the developer's area.

You'll have to ask the developer why he/she decided not to output the whole string to count 0.
This automation is what we meant about similar logic in similar functions.

 
Roman:

Why the developer decided not to output the whole string to count 0, ask him.
This automation is what was meant, about the similarity of the logic in similar functions.

Sorry, but I'm not dumb enough to ask such questions if the answer is in the Documentation for all four functions:

ShortArrayToString CharArrayToString StringToShortArray StringToCharArray

count - The number of array elements to copy. Defines the length of the result string.


If count = 0, then 0 elements will be copied (not 1, not 2, not 7, but zero)

 
A100:

If count = 0, then 0 elements are copied (not 1, not 2, not 7, but zero)

That's the genius!
Made my day ))

 
Roman:

That's the genius of it!
Made my day ))

It's not genius - it's elementary stuff. But geniuses don't understand elementary things - they see"dodgy automation" everywhere, delve into the developer's domain, know ahead of time what and how the developer decided

 

2940

the new programme does not appear in the navigator after compilation.

 
Andrei Trukhanovich:

No, there is also such a thing as the principle of uniformity. the bug is obvious. if you don't understand why it's a bug, that's entirely your problem.

A second attempt to personalise this technical discussion.

 

2940

The problem was also present in the previous build. I didn't notice it in the build before that.

 
Andrey Dik:

2940

the new program does not appear in the navigator after compilation.

Not a bad result - my terminal won't boot at all - the last entry in the Logbook was like this:

KL      3       05:53:32.204    Exception       C0000005 at 4 E734FB0 write to 4 E734FB0
OE      3       05:53:32.912    Exception       C0000005 at 4 E734FB0 write to 4 E734FB0
EL      2       05:53:32.920    Terminal        crashlog generated

rebooting the system didn't work - reinstalling the terminal completely helped

 
Andrey Dik:

2940

The problem was also present in the previous build. I didn't notice it in the build before that.

I have never noticed it before.

Forum on trading, automated trading systems and trading strategies testing

Bugs, bugs, questions

A100, 2020.08.01 03:17

Step by step description of the problem:

  • 1. Take any compiled Expert Advisor and place it into the Favorites
  • 2. Remove Test.ex5
  • 3. Close the Terminal
  • Open the Terminal and using the mouse drag and drop Test on the chart from the Favorites

Result: ExpertMACD 1.00 will be started

Expected: Compilation, followed by launching of Expert Test

I remember (because I have faced this problem myself) there was someone else's message about this problem last year, but nothing has changed.

and will not change for a long time

Reason: