- Home /
print the whole list to screen
I need to test my list and like to find out how to print the whole list to the screen to see if all items were added and in the correct order etc.
In Lingo I use put testList, this showed all items in the list on 1 line seperated by commas.
I tried print (testList); and I get system.collections.generic.list '1[System.string]
print (testList[1]); works but I only get 1 item in the list
Comment
Answer by had0uken · Oct 18, 2016 at 04:27 PM
Hi! Try to do this
foreach (item in testList) { print (testList[item]); }
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Problem with array 2 Answers
How to add and access objects in array? 1 Answer
Variables inside an element list 1 Answer
Make object move through waypoints by the given number in the name 1 Answer