Ampersand icon indicating copy to clipboard operation
Ampersand copied to clipboard

PURPOSE statement needed for ENFORCE

Open stefjoosten opened this issue 2 years ago • 2 comments

Problem

I cannot write a PURPOSE for the current implementation of ENFORCE statements. This forces me to go back to the ExecEngine syntax, where I can label the rule and add a purpose using that label.

Proposal

I propose to add an optional label to ENFORCE rules, just like ordinary rules.

So I can write:

   ENFORCE Maakbuddy : buddy[Gastgezin*Vrijwilliger] >: gastgezin~;(intaker-aanmelding~;buddy;V)
   PURPOSE RULE Maakbuddy
   {+ Initieel is de intaker ook meteen de buddy, omdat de intaker de initiële band met het gastgezin opbouwt.
   Daarom vult het systeem standaard de intaker in als het buddy-veld leeg is.
   +}

stefjoosten avatar Jun 12 '22 07:06 stefjoosten