Jump to content

  • Log In with Google      Sign In   
  • Create Account

Jake Albano

Member Since 10 Aug 2010
Offline Last Active Oct 04 2015 06:44 PM

Posts I've Made

In Topic: How is cast<T>() registered?

05 September 2015 - 09:01 PM

I assumed that would be the case. The implicit cast trick is a good one (and I actually realized I could do it while writing this post), the only drawback is that you have to assign it before you can use the properties or methods of the Type class...though I suppose I could register the same members to both types.


That post looks great! I'll definitely check his code out. Thanks for the reply.

In Topic: Array trailing comma

04 October 2014 - 09:45 PM

Totally understandable -- my comment was based on the assumption that Angelscript was like every other language I've used and that a trailing comma didn't make any difference at all.

In Topic: Array trailing comma

04 October 2014 - 03:52 PM

Oh, I wasn't aware of this. Very strange. I've never used another language with that behavior...sounds like it probably does more harm than good, no? You can always pass null or 0 if you want to have uninitialized elements in your array.

In Topic: Array trailing comma

04 October 2014 - 11:16 AM

Why would you want that though? It has no adverse effect and just makes it easier to add new elements if you're still working on the code.

In Topic: AngelScript 2.29.1

30 July 2014 - 11:36 PM

I much prefer the new syntax for named arguments. No ambiguity to worry about, and C# programmers will be right at home.