Question: Why does convert(.., string) add tilde?

Hi all,

 

I get this strange (to me) behavior:

 

interface(showassumed=0);

assume(theta,real);
assume(phi,real);

SourcePosition:=[phi,theta];

parameters:= [SourcePosition[1],SourcePosition[2]]: 
 save parameters, "./parameter.txt";

wanted_par:=[convert(SourcePosition[1],string),convert(SourcePosition[2],string)]: 
save wanted_par, "./wanted_par.txt";

the file parameter.txt and wanted_par contain:


parameters := [phi, theta];
wanted_par := ["phi~", "theta~"];

who and why added that tilde?

thanks

S.

Please Wait...