var arr:={1,2,3}; var text:=""; foreach a in arr text+=" "+a; endforeach print(text); text:=""; text+=arr[1]; print(text);