Create New List Step
Brief description
In this step, you can create a new list (either a string or an integer). This list can be empty, or you can add elements to it.
Step Information
Step Name (Not required)– the custom name of the process step that labels the editor’s process step box
Input Parameters
- Name (Required)- the custom variable name
- Type (Required)– choose a type from the drop-down list
- ListOfStrings
- ListOfIntegers
- Number of elements (Not required) -you can add the number of elements you want to your list. If you want to create a ListOfIntegers, values cannot be empty.
- Initial value (Not required) - add the value of a variable depending on the selected list type (integer or string). In the case of the integer type, it must have an initial value.
- Options (Not required) -for each element in the list, you can move it to a different position or delete it.
Additional comments
There are specific rules for naming variables, including keywords in C# and Python that are not allowed.
Start Character:
- The variable name must start with a letter (a-z or A-Z) or an underscore (_).
- It cannot start with a number or any other character.
Allowed Characters:
- The variable name can only contain letters, digits (0-9), and underscores (_).
- It cannot contain spaces, hyphens (-), special characters (like @, !, #, etc.), or punctuation.
Keyword Restriction:
- The name cannot be a reserved keyword in Python or C#.
- Using a keyword as a variable name would cause syntax errors or unexpected behavior.
- Disallowed: Reserved Keywords (these keywords cannot be used as variable names):
- Python keywords: False, None, True, and, as, assert, async, await, break, class, continue, def, del, elif, else, except, finally, for, from, global, if, import, in, is, lambda, nonlocal, not, or, pass, raise, return, try, while, with, yield
- C# keywords: abstract, base, bool, byte, case, catch, char, checked, const, decimal, default, delegate, do, double, enum, event, explicit, extern, fixed, float, foreach, goto, implicit, int, interface, internal, lock, long, namespace, new, null, object, operator, out, override, params, private, protected, public, readonly, ref, sbyte, sealed, short, sizeof, stackalloc, static, string, struct, switch, this, throw, typeof, uint, ulong, unchecked, unsafe, ushort, using, virtual, void, volatile