RosettaCodeData/Task/Loop-over-multiple-arrays-simultaneously/TXR/loop-over-multiple-arrays-simultaneously-1.txr

12 lines
140 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
$ txr -c '@(bind a ("a" "b" "c"))
@(bind b ("A" "B" "C"))
@(bind c ("1" "2" "3"))
@(output)
@ (repeat)
@a@b@c
@ (end)
@(end)'
aA1
bB2
cC3