How to add your knowledge

Rule Annotation Examples

    Table of contents
    No headers

    The first example shows a rule with the %%Category, %%DisplayName, and %%Prompt annotations added.

    <%%Category("Item Dimensions"),_
      %%DisplayName("Part Length"),_
      %%Prompt("Length of part being moved (mm)")> _
    Parameter Rule partLength As Number = 500

    The next example shows a rule with %%Choices, %%EvalChoices, and %%ChoicesDelimiter annotations added (%%Category is also shown).

    <%%Category("Item Dimensions"),_
      %%Choices("Standard,|ANSI|DIN|GB|ISO|JIS"),_
      %%EvalChoices("False"),_
      %%ChoicesDelimiter("|") >_
    Parameter Rule dimStyle As String = "Standard"