Loop doesn't work with $ which is a recall from global?? Thank you.

foreach i of num 1/17 {
global Pi2016_`i'=$Ng`i'/$NgT
}