ObjectScript allows to add default value to method arguments, and it does not require that such default values be at the end.

It is therefore legal to define a method as:

    Method m(x as %Integer = 1, y)
    {
        // code of method here
    }

However, this is rather confusing and should preferrably be avoided.