Nope. like GoTo or ToDo . when the condition is met, the program starts code execution at the specified mark
Oh, like in Wasik... No, mql is a C-like language. Here instead of such constructs there are user-defined functions and the condition goes to one or another user-defined function. And after the function is executed, the execution moves to the next line of the main code after the condition.
Or see switch operator in the language help. Maybe that's what you mean?
Ahh, like in Wasik... No, mql is a C-like language. There are user-defined functions instead of such constructs and the condition jumps to one or another user-defined function. And after the function is executed, execution switches to the next line of the main code after the condition.
Or see the switch operator in the language reference. Is this what you mean?
There's nothing cumbersome about it. I didn't know anything besides Wasik before trying to learn mql4 either. It's all good and easy to learn. I mastered mql5 in a couple of weeks, up to a certain level, of course.
A huge step was made in the development of all programming paradigms when they got rid of GoTo.
To put it simply - using this operator did not allow to create intelligible-checkable program logic, and its complexity quickly tended to infinity as the number of lines increased.
MakarFX: You cannot change it there now. I don't know why.
Just checked, it can be changed. But this change will be for all alerts for the terminal. And if you need to use PlaySound() on each condition, but not in someone else's function, and understand how it works yourself.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Nope. like GoTo or ToDo . when the condition is met, the program starts code execution at the specified mark
Oh, like in Wasik... No, mql is a C-like language. Here instead of such constructs there are user-defined functions and the condition goes to one or another user-defined function. And after the function is executed, the execution moves to the next line of the main code after the condition.
Or see switch operator in the language help. Maybe that's what you mean?
Nope. like GoTo or ToDo . when the condition is met, the program starts code execution at the specified mark
That's BASIC for you, then.
Ahh, like in Wasik... No, mql is a C-like language. There are user-defined functions instead of such constructs and the condition jumps to one or another user-defined function. And after the function is executed, execution switches to the next line of the main code after the condition.
Or see the switch operator in the language reference. Is this what you mean?
That's BASIC for you, then.
Oof...
All right. We'll keep looking.
Thanks
Thanks, but it's a bit cumbersome.
Thanks, but it's a bit cumbersome.
A huge step was made in the development of all programming paradigms when they got rid of GoTo.
To put it simply - using this operator did not allow to create intelligible-checkable program logic, and its complexity quickly tended to infinity as the number of lines increased.
That was ~30 years ago. just for reference.
only in terminal - service - setup - events
Can't change there now. Don't know why.
checked, you can - top drop-down list item - Choose other - then select sound from the sound folder in the explorer
You cannot change it there now. I don't know why.
Just checked, it can be changed. But this change will be for all alerts for the terminal. And if you need to use PlaySound() on each condition, but not in someone else's function, and understand how it works yourself.
checked, you can - top drop-down list item - Choose other - then select sound from the sound folder in the explorer
Thank you, it worked.
But it doesn't solve the issue of event separation