Just out of curiosity, does anyone know that in the following script:
func real fun1(complex in1){
cout << "in fun1: in1=" << in1 << endl;
complex in12Scope = in1;
func real fun2(complex in2){
cout << "in fun2: in1=" << in1 << endl;
cout << "in fun2: in12Scope=" << in12Scope << endl;
return 0;
}
fun2(0);
return 0;
}
fun1(alpha);
why does the line cout << "in fun2: in1=" << in1 << endl;
write (0,0) as output?