Index: JvInterpreter.pas
===================================================================
--- JvInterpreter.pas	(revision 10609)
+++ JvInterpreter.pas	(working copy)
@@ -2512,7 +2512,10 @@
 procedure JvInterpreterVarCopy(var Dest: Variant; const Source: Variant);
 begin
   if (TVarData(Source).VType = varArray) or (TVarData(Source).VType = varRecord) then
+  begin
+    VarClear(Dest);
     TVarData(Dest) := TVarData(Source)
+  end
   else
     Dest := Source;
 end;
