autotraderbra:
Hi, on metatrader, if you code:
while (1>0)
{}
The program does not run and crashes, but why this happen? I see that in other languages there is no problem with this kind of loop. Thanks for answer
I think that the program does run, but is stuck in a loop.
What is the point of your code?
Put in a break.
Keith Watford:
I'm just curious, this kind of loop works very well on C, and metatrader is based on C, so i just want to know why it crashes
I think that the program does run, but is stuck in a loop.
What is the point of your code?
Put in a break.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi, on metatrader, if you code:
while (1>0)
{}
The program does not run and crashes, but why this happen? I see that in other languages there is no problem with this kind of loop. Thanks for answer