I dont know if i would call it a bug, since i would have to say all other $identifiers i can think of are global, so $v1 and $v2 being global would seem to be in line with this. Also $ifmatch has had the same behavour as current $v1 $v2 so it has been known just something thats not overly clear. Also the help file only says its from a IF THEN ELSE construct, it makes no mention of $IIF or WHILE results also effecting them. frown