Original Post
Beta2 seems to be working fine, except that I'm having one problem. I noticed this in beta1, but never tried it before that. Suppose in a script I have three functions:
catch(float)
catch(double)
catch(int)
I can call the functions by doing 'catch(10.0)' or 'catch(10.0f),' but when using 'catch(10)' the compiler will only match 10 with an unsigned int (using 'catch(int(10))' works though).
Building...
Compiling function 'main' in "scripts\main.script"
Error : (6, 1) Multiple matching functions to 'catch(const uint)'
void catch(float)
void catch(double)
void catch(int)
Completed. (errors: 1, warnings: 0)
If I add a fourth function that takes an unsigned int parameter then this problem goes away, but it seems that 10 should match as an integer if that is the only choice.
[edited by - Desdemona on May 3, 2004 4:35:28 AM]