Mahen Surinam <neoanderson12 <at> gmail.com> writes:
>
> [.. snip ..]
> $Text = "";
> $OldText = "";
> $OldText2 = ""
> $OldText3 = ""
> 
> def Join()
>  $Text = $Oldtext3 + $OldText2 + $OldText + $JOB
> end
> 
> [.. snip ..]

The error you were getting is because $Oldtext3 is not the same as $OldText3

However, all of the previous replies highlight other issues which you should
address in your code - the biggest of which (in my opinion) is using globals for
a task which only ever stays in one scope.

Gareth