Question: Parameter exports of Grid[Launch] command.

If you look at Maple help on Grid[Launch] command there is an example of checking the prime numbers.

I do not understand why the timingData variable is empty after specifying it in exports parameter.

When I do not specify it in the exports parameter, the timingData variable has the same value as it had before calling Launch command.

 

I can get the desired list of timingData with inserting something like

printf("timingData = %A\n",timingData);

before the return command, but why is the variable empty after exiting the procedure?

Please Wait...