Is there an easy way to copy the items from one List object to another?
Printable View
Is there an easy way to copy the items from one List object to another?
Yes, by using a loop.
+ Start of frame (or when you want to copy the list)
- [Special Object] Start loop "copy": List Nb Lines( "List 1" ) times
This will start the loop called copy. It will loop however many lines in the list there are.
+ On loop "copy"
-
[List 2] Add a line: List Line Text$( "List", LoopIndex("copy")+1)
This will check for the loop "copy", and then add a line based on the current loop index of the "copy" loop. If your first list has a 1-based index (set in the properties), then just remove the "+1".
Example.
Okay I am using the iOS Exporter is the Special Object available to me?
Sorry, it's the first object that you see when adding a new condition or action (the one with a computer screen).
Much thanks. Works great.