Code:
local a "one two three"
local b "four five six"
local c "seven eight nine"
local agrp "cat dog cow"
local bgrp "`a' `b' `c'"
local n : word count `agrp'
forvalues i = 1/`n' {
local a : word `i' of `agrp'
local b : word `i' of `bgrp'
di "`a' `b'"
}Code:
cat one dog two cow three
Code:
cat one two three dog four five six cow seven eight nine
0 Response to Parallel loop lists
Post a Comment