| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Empty4 v600 for Coders https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3439 |
Page 4 of 5 |
| Author: | genaja [ Mon Jun 02, 2014 12:09 pm ] |
| Post subject: | return value of 'OrderSend' should be checked |
[/quote] you can ignore it, as it is only a warning, if you want remove the warning just change Code: Select all Tommaso[/quote] Hi Tommaso, bool ticket1= bool ticket2= was the solution. But what is the difference? Is it not alowed to fill 3 orders in one "int" variable? Thanks Genaja |
|
| Author: | milanese [ Mon Jun 02, 2014 12:19 pm ] |
| Post subject: | return value of 'OrderSend' should be checked |
you can ignore it, as it is only a warning, if you want remove the warning just change Code: Select all Tommaso[/quote] Hi Tommaso, bool ticket1= bool ticket2= was the solution. But what is the difference? Is it not alowed to fill 3 orders in one "int" variable? Thanks Genaja[/quote] the new compiler wants you to check the result from all OrderSend ecc, that is the difference.. Cheers Tommaso |
|
| Author: | genaja [ Mon Jun 02, 2014 12:46 pm ] |
| Post subject: | return value of 'OrderSend' should be checked |
Ah, I understand. Tree orders into one variable is not o.k. Many thanks Tommaso! cu genaja |
|
| Author: | matfx [ Fri Jun 13, 2014 5:39 pm ] |
| Post subject: | Empty4 v600 for Coders |
Thank you guys. The tips posted help a lot indeed. |
|
| Author: | sheriffonline [ Fri Aug 28, 2015 8:21 pm ] |
| Post subject: | Empty4 v600 for Coders |
I get the error "'i' - undeclared identifier" for following lines! Code: Select all |
|
| Author: | milanese [ Fri Aug 28, 2015 9:20 pm ] |
| Post subject: | Empty4 v600 for Coders |
you should use Code: Select all Tommaso |
|
| Author: | sheriffonline [ Sat Aug 29, 2015 7:00 am ] |
| Post subject: | Empty4 v600 for Coders |
Thank you so much. The error was fixed now. but still i get 3 warnings. i removed 1 warning by the help of the topic here. Code: Select all Code: Select all |
|
| Author: | renexxxx [ Sat Aug 29, 2015 7:30 am ] |
| Post subject: | Empty4 v600 for Coders |
My friend, The AccountNumber line should be: Code: Select all And it is much better and easier to create a struct for your order data, like so: Code: Select all Hope this helps. |
|
| Author: | milanese [ Sat Aug 29, 2015 8:22 am ] |
| Post subject: | Empty4 v600 for Coders |
renexxxx had explained very clear how you can change your code avodiding the warnings, so there is no reason to repat your question! If you have no idea how the newer compiler are changed in resp. to the older ones just read there ---> http://docs.mql4.com/mql4changes#compiler_difference Cheers Tommaso |
|
| Author: | sheriffonline [ Sat Aug 29, 2015 6:11 pm ] |
| Post subject: | Empty4 v600 for Coders |
Thank you lot milanese and renexxxx. I fixed the warning with both of your support. I appreciate your support. |
|
| All times are UTC | Page 4 of 5 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|