﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
402	Strange Variable Names in TolBase after executing a BinGroup	Christian Paz	rcsoto	"This is a kind of strange problem, I think it has to be with the BinGroup
Function that I detected when trying to implement a function which returns the
set of all the possible permutations of a set of numbers.

-----------------
Set Permutacoes(Set numeros)
{
    Set perms = EvalSet(numeros, Set (Real i)
    {
        Set restantes = numeros - SetOfReal(i);
        Set res=If(Not(IsEmpty(restantes)), {
          Set permRest = Permutacoes(restantes); 
          Set res=EvalSet(permRest, Set (Set perm){SetOfReal(i)<<perm})},
SetOfSet(SetOfReal(i)))
    });
    Set perm = BinGroup(""<<"", perms)
};

Set permutacoes=Permutacoes(Range(1,5,1));
-------------------

If you execute this code in TolBase some sets inside permutacoes set have a
strange name composed by special characters like ""·£"" or something like that.
If you execute:

Set EvalSet(permutacoes, Set (Set x){EvalSet(x, Real(Real a){Text
WriteLn(Name(a));0})});

you get a lot of blank lines as expected. 

Because of that I suppose this is a TolBase problem, because in Tol Console
apparently there is no problem.

Thanks a lot,"	defect	closed	normal		Interface	head	normal	fixed		
