Quantcast
Channel: Mockaroo Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 2665

Outputing data from array

$
0
0

Hi

I’m trying to output a list of values stored in an array, but I can’t seem to get it working. This is the code that I tried.

ary = ['Entertainment','Social','Printed Media','School','Work','Hobbies']
for i in 0..ary.length()-1 do
  i
end

I only want to generate rows for the items listed in the array.

How can I do this?


Viewing all articles
Browse latest Browse all 2665

Trending Articles