So say

FOR A=1 to 20
HIGH PORTA+A
NEXT

will work?