y

    1. array ={"hello","world"}
    2. for i=1,2 do
    3. print(array[i])
    4. end

    输出结果

    1. hello
    2. world