Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Everyone,
This API code allows me to fill out a list with multiple values
SyntaxEditor Code Snippet
' Create lists of numbers and letters' by using array initializers. Dim numbers() As Integer = {1, 4, 7}Dim letters() As String = {"a", "b", "c"} ' Iterate through the list by using nested loops. For Each Number As Integer In numbers For Each letter As String In letters Debug.Write(Number.ToString & letter & " ") Next Next Debug.WriteLine("") 'Output: 1a 1b 1c 4a 4b 4c 7a 7b 7c
I want to do something similar in iLogic, how can I do it? (please see the attached image)
I want to create a list and fill out the multi-value parameter using a For / For each statement.
SyntaxEditor Code Snippet
MultiValue.SetList("d0", 0.5, 0.75, 1.0, 1.25)
I want to enter 0.5, 0.75, 1.0 and 1.25 from a previously list created.
Thanks!
Solved! Go to Solution.