var<br> a:array [1..36] of string;<br> i1,i2,i3,i4{,.....},i16:integer;<br>begin<br> a[1]:='0';<br> a[2]:='1';<br> a[3]:='2';<br> a[36]:='z';<br> for i1:=1 to 36 do<br> begin<br> for i2:=1 to 36 do<br> begin<br> for i3:=1 to 36 do<br> begin<br> //...<br> for i16:=1 to 36 do<br> begin<br> memo1.Lines.Add(a[i1]+a[i2]+a[i3]{.....}+a[i16]);<br> end;<br> //...<br> end;<br> end;<br> end;<br>end;