I know I'm doing something wrong... but can't figure it out.. getting annoyed :P

%word1 thru %word10 are diffrent words.
%nword1 the %nword10 are the same words as %word1-10
Just slightly diffrent.

this is suppose to compaire them letter by letter. for each word :P

But the $mid (and maybe $len) don't like doing the %word $+ %n

what would be a better way of changing this... been awheil since I did this :P

while (%n <= 10 ) {
set %length $len(%word $+ %n)
while (%i <= %length) {
%w1 = $mid(%word $+ %n,%i,1)
%w2 = $mid(%nword $+ %n,%i,1)
if ( %w1 != _ ) set %hint = %hint $+ %w1
else %hint = %hint $+ %w2
inc %i
}
set %word $+ %n %hint
set %hint
inc %n
}

Axe