I am trying to write a procedure in Inno setup code using default values for parameters, like in Pascal, like Procedure MyFunction(string1: string; string2: string = None ); begin //Do nothing end;
When I try to compile this, I get [...] Compiling [Code] section
Compiler Error! Line 10: Column 55: Semicolon ( ; ) expected.
谁能发现我做了什么错误?