Sean, I tried converting the integer counter (i) to a string before concatenating with the RI variable name (see below), but this does not work either. You get a RO000 not defined compiler error. VARIABLES i : I; Str : S6; | | STATEMENTS For i :=1 TO 9 Str := I; RO000'Str' := RI000'Str' i := i+1 ENDFOR Doug is also correct, the block cannot write via an external reference even to its own outputs (tried that also). In your situation a simple list of assignments may be the easiest if this is all you need to do. RO0001 := RI0001; RO0001 := RI0002; | | RO0009 :; RI0009 Tom Badura Plastics Engineering Company tbadura@xxxxxxxxxx -----Original Message----- Subject: [foxboro] HLBL help Hi, Does any one know how to do the following in HLBL? For i :=1 TO 9 RO000i := RI000i i := i+1 ENDFOR I basically want to loop through user labels if you are wondering what I am doing. Thanks, Sean _______________________________________________________________________ This mailing list is neither sponsored nor endorsed by Invensys Process Systems (formerly The Foxboro Company). Use the info you obtain here at your own risks. Read http://www.thecassandraproject.org/disclaimer.html foxboro mailing list: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave