Question: recursive eval versus eval(,n)

Hello, I was wondering just how evaluation to n levels works as compared to the default eval statement (Maple 10). As an example, consider this: a := 1; whattype(''a''); // uneval whattype(eval(''a'')); // symbol whattype(eval(eval(''a''))); // integer The same information can be retrieved by adding a number to eval, indicating the level. as in: a := 1; whattype(eval(''a'',1)); // uneval whattype(eval(''a'',2)); // symbol whattype(eval(''a'',3)); // integer So I would expect the same behavior for the following example: whattype(''sin(2.0)''); // uneval whattype(eval(''sin(2.0)'')); // function whattype(eval(eval(''sin(2.0)''))); // float Yet, if I use the level number, I get: whattype(eval(''sin(2.0)'',1)); // uneval whattype(eval(''sin(2.0)'',2)); // function whattype(eval(''sin(2.0)'',3)); // function ... whattype(eval(''sin(2.0)'',100)); // function ... What makes this example so different? -- Regards, Franky.
Please Wait...