Ocl evaluation of text after "–"

CapableObjects Forums SupportForum Ocl evaluation of text after "–"

Tagged: 

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

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

    SteveA
    Participant

    Greetings
    OCL Evaluation: is “–” the start of an OCL comment

    “ClassA.allInstances–>select(false)” returns all instances of ClassA
    in fact everything after — is ignored
    “ClassA.allInstances–anything at all” returns all instances of ClassA

    regards
    Steve

    #5133 Score: 0

    Admin
    Keymaster

    double “-” (minus), ie “–“, are interpreted as ocl-comments
    The comment continues to end of line (until \r\n is found)

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

You must be logged in to reply to this topic.

Comments are closed.