Default value for parameter in signature of method

CapableObjects Forums SupportForum Default value for parameter in signature of method

This topic contains 1 reply, has 2 voices, and was last updated by  Admin 6 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5179 Score: 0

    Peter Buchmann
    Participant

    Hello,

    is it somehow possible to give method parameters a default value so that they generate code like following example:

    void Method(string parameter=null)
    {
    }

    This then would not only have effects on the generated code but also on how those methods could be called in EAL.

    Regards
    Peter

    #5185 Score: 0

    Admin
    Keymaster

    Hi Peter – sorry no – It would require a change of the ocl-parser to handle this call strategy and I do not think the cost benefit add up.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Comments are closed.