Index    EarthC language


Functions

User defined functions can have any number of parameters of any type but they always return int.

examples:

int FindWay(int nX,int nY,int nZ)
{
    int k;
    for(k=0;k<123;k++)
    {
        .....
    }
}