10 Jun
2012
10 Jun
'12
7:05 a.m.
On Jun 9, 2012, at 9:08 PM, Andreas Jonsson wrote:
2012-06-09 18:47, Andreas Jonsson skrev:
2012-06-09 15:17, Vincent Massol skrev:
Hi Andreas,
What happens if "clean" is false when executing in "restricted" mode?
I have not thought about that yet, but I can see two possibilities: 1) enforce clean 2) don't execute the macro.
Considering the fact that the user have explicitly requested clean="false" it seems most reasonable to raise an error to inform the user that this is not allowed. I'm going with this solution for now.
s/reasonable/unreasonable ? Throwing an exception sounds best to me too. Thanks -Vincent