Overloading and Optional Parameters

No the compiler cant sort out if you mean

  • Integer, String, Optional Variant
  • Integer, String, String, Optional Variant

the params (integer string variant) could match the first OR the second since a variant auto converts to a string and then the last param in the second is skipped

its ambiguous which you meant


So you can call a shared method on a class without having an instance? And that method uses New to make an instance?