valid_enum is now choice

This commit is contained in:
2021-05-01 18:32:45 +02:00
parent d7a1a52ebb
commit b35d930d7e
91 changed files with 556 additions and 761 deletions

View File

@ -2,17 +2,14 @@
<rougail version="0.10">
<variables>
<family name="general">
<variable name="var" type="number" description="New variable">
<value>9</value>
<variable name="var" type="choice" description="New variable">
<value type="number">9</value>
<choice type="function" name="trange">
<param type="number">0</param>
<param type="number">10</param>
</choice>
</variable>
</family>
</variables>
<constraints>
<check name="valid_enum">
<param type="function">trange</param>
<param type="number">0</param>
<param type="number">10</param>
<target>var</target>
</check>
</constraints>
<constraints/>
</rougail>