Of course it should work. I understand that MagicDraw uses Eclipse OCL although they have never asked for permission/advice or offered any support. Using the Eclipse OCL editor for RoyalAndLoyal.ocl the following parses ok. context LoyaltyAccount::points : Integer init : 0 But if the final : is removed to imitate your example, the editor reports “mismatched input ‘:’ expecting ‘ (‘” It would …
nagic draw – using ocl to initialize variables for simulation with …, kagic draw – using ocl to initialize variables for simulation with …, jagic draw – using ocl to initialize variables for simulation with …, mzgic draw – using ocl to initialize variables for simulation with …, msgic draw – using ocl to initialize variables for simulation with …, mwgic draw – using ocl to initialize variables for simulation with …, mqgic draw – using ocl to initialize variables for simulation with …, mafic draw – using ocl to initialize variables for simulation with …, mavic draw – using ocl to initialize variables for simulation with …, mabic draw – using ocl to initialize variables for simulation with …, mahic draw – using ocl to initialize variables for simulation with …, mayic draw – using ocl to initialize variables for simulation with …, matic draw – using ocl to initialize variables for simulation with …, maguc draw – using ocl to initialize variables for simulation with …, magjc draw – using ocl to initialize variables for simulation with …, magkc draw – using ocl to initialize variables for simulation with …, magoc draw – using ocl to initialize variables for simulation with …, mag9c draw – using ocl to initialize variables for simulation with …, mag8c draw – using ocl to initialize variables for simulation with …, magix draw – using ocl to initialize variables for simulation with …, magiv draw – using ocl to initialize variables for simulation with …, magif draw – using ocl to initialize variables for simulation with …, magid draw – using ocl to initialize variables for simulation with …, magic sraw – using ocl to initialize variables for simulation with …, magic xraw – using ocl to initialize variables for simulation with …, magic craw – using ocl to initialize variables for simulation with …, magic fraw – using ocl to initialize variables for simulation with …, magic rraw – using ocl to initialize variables for simulation with …, magic eraw – using ocl to initialize variables for simulation with …, magic deaw – using ocl to initialize variables for simulation with …, magic ddaw – using ocl to initialize variables for simulation with …, magic dfaw – using ocl to initialize variables for simulation with …, magic dtaw – using ocl to initialize variables for simulation with …, magic d5aw – using ocl to initialize variables for simulation with …, magic d4aw – using ocl to initialize variables for simulation with …, magic drzw – using ocl to initialize variables for simulation with …, magic drsw – using ocl to initialize variables for simulation with …, magic drww – using ocl to initialize variables for simulation with …, magic drqw – using ocl to initialize variables for simulation with …, magic draq – using ocl to initialize variables for simulation with …, magic draa – using ocl to initialize variables for simulation with …, magic dras – using ocl to initialize variables for simulation with …, magic drae – using ocl to initialize variables for simulation with …, magic dra3 – using ocl to initialize variables for simulation with …, magic dra2 – using ocl to initialize variables for simulation with …, magic draw ᰫ using ocl to initialize variables for simulation with …, magic draw &#u211; using ocl to initialize variables for simulation with …, magic draw &#i211; using ocl to initialize variables for simulation with …, magic draw ⏻ using ocl to initialize variables for simulation with …, magic draw ᾯ using ocl to initialize variables for simulation with …, magic draw q11; using ocl to initialize variables for simulation with …, magic draw w11; using ocl to initialize variables for simulation with …, magic draw ⁷ using ocl to initialize variables for simulation with …, magic draw ” using ocl to initialize variables for simulation with …, magic draw Rq1; using ocl to initialize variables for simulation with …, magic draw — using ocl to initialize variables for simulation with …, magic draw ̵q; using ocl to initialize variables for simulation with …, magic draw – ysing ocl to initialize variables for simulation with …, magic draw – hsing ocl to initialize variables for simulation with …, magic draw – jsing ocl to initialize variables for simulation with …, magic draw – ising ocl to initialize variables for simulation with …, magic draw – 8sing ocl to initialize variables for simulation with …, magic draw – 7sing ocl to initialize variables for simulation with …, magic draw – uaing ocl to initialize variables for simulation with …, magic draw – uzing ocl to initialize variables for simulation with …, magic draw – uxing ocl to initialize variables for simulation with …, magic draw – uding ocl to initialize variables for simulation with …, magic draw – ueing ocl to initialize variables for simulation with …, magic draw – uwing ocl to initialize variables for simulation with …, magic draw – usung ocl to initialize variables for simulation with …, magic draw – usjng ocl to initialize variables for simulation with …, magic draw – uskng ocl to initialize variables for simulation with …, magic draw – usong ocl to initialize variables for simulation with …, magic draw – us9ng ocl to initialize variables for simulation with …, magic draw – us8ng ocl to initialize variables for simulation with …, magic draw – usibg ocl to initialize variables for simulation with …, magic draw – usimg ocl to initialize variables for simulation with …, magic draw – usijg ocl to initialize variables for simulation with …, magic draw – usihg ocl to initialize variables for simulation with …, magic draw – usinf ocl to initialize variables for simulation with …, magic draw – usinv ocl to initialize variables for simulation with …, magic draw – usinb ocl to initialize variables for simulation with …, magic draw – usinh ocl to initialize variables for simulation with …, magic draw – usiny ocl to initialize variables for simulation with …, magic draw – usint ocl to initialize variables for simulation with …, magic draw – using icl to initialize variables for simulation with …, magic draw – using kcl to initialize variables for simulation with …, magic draw – using lcl to initialize variables for simulation with …, magic draw – using pcl to initialize variables for simulation with …, magic draw – using 0cl to initialize variables for simulation with …, magic draw – using 9cl to initialize variables for simulation with …, magic draw – using oxl to initialize variables for simulation with …, magic draw – using ovl to initialize variables for simulation with …, magic draw – using ofl to initialize variables for simulation with …, magic draw – using odl to initialize variables for simulation with …, magic draw – using ock to initialize variables for simulation with …, magic draw – using ocp to initialize variables for simulation with …, magic draw – using oco to initialize variables for simulation with …, magic draw – using ocl ro initialize variables for simulation with …, magic draw – using ocl fo initialize variables for simulation with …, magic draw – using ocl go initialize variables for simulation with …, magic draw – using ocl yo initialize variables for simulation with …, magic draw – using ocl 6o initialize variables for simulation with …, magic draw – using ocl 5o initialize variables for simulation with …, magic draw – using ocl ti initialize variables for simulation with …, magic draw – using ocl tk initialize variables for simulation with …, magic draw – using ocl tl initialize variables for simulation with …, magic draw – using ocl tp initialize variables for simulation with …, magic draw – using ocl t0 initialize variables for simulation with …, magic draw – using ocl t9 initialize variables for simulation with …, magic draw – using ocl to unitialize variables for simulation with …, magic draw – using ocl to jnitialize variables for simulation with …, magic draw – using ocl to knitialize variables for simulation with …, magic draw – using ocl to onitialize variables for simulation with …, magic draw – using ocl to 9nitialize variables for simulation with …, magic draw – using ocl to 8nitialize variables for simulation with …, magic draw – using ocl to ibitialize variables for simulation with …, magic draw – using ocl to imitialize variables for simulation with …, magic draw – using ocl to ijitialize variables for simulation with …, magic draw – using ocl to ihitialize variables for simulation with …