subroutines...

 
I have not seen how to call functions and subroutines without having a seperate file. Do you have any examples of how to do this within the same mq4 file.


Thanks,
Dan
 

int start()
{

   ....


   dobeedo(12);


   ....

}


void dobeedo(int x)
{
    Print(x);

    return;
}




(Check the MT help files for "function", that's what they are called in MQL).



Markus