Hello and thank you Andrew. I tried chip = porta.0 and it won't compile. Then I tried:

x var byte
chip var porta.0
let x = 3
high chip [x]

Doesn't work - porta.0 goes high regardless of the value of x. So now I tried:

high chip + x

It works! If I replace porta.0 with chip + x in my program it should solve my problem. My 50 line block of code has a lot of adcin & shiftout commands. That's why I run out of program memory when I duplicate the block numerous times. Thank you Andrew. - Peter