To recognize arguments more quickly, a prefix is added to the variable name. In for incoming arguments, Out for outgoing arguments and InOut for arguments that work in both directions. This way you can immediately see in the script whether it is an argument and whether it is an input or output argument.
Summarized:
- Clear naming conventions of arguments
- If-switch-branches for individual usage (if an argument is empty, check it and ignore it if it is empty)
-
In before an input
argument.
Example: InText
-
Out before an output
argument.
Example: OutCount
-
InOut before an
input/output argument.
Example: InOutList