10 Nov
2005
10 Nov
'05
6:42 a.m.
Given the Macro definition (which I suspect is more or less irrelevent) {$definec Assert(b) AssertCode((b), __FILE__, __LINE__)} The line: Assert( overwrite_folder in [FOF_Merge, FOF_Overwrite] ); Gives the error: macro `Assert' used with too many (2) args Adding a bracket to the assertion call: Assert( (overwrite_folder in [FOF_Merge, FOF_Overwrite]) ); Resolves the problem. I guess it could be argued that there are two parameters "overwrite_folder in [FOF_Merge" and "FOF_Overwrite]" but clearly the macro code is handling () bracketing, should it also handle [] bracketing perhaps? Thanks, Peter. -- <http://www.stairways.com/> <http://download.stairways.com/>