So it's no longer defaulting to a number type? Or will it still default?
Rev 1801 - TomyLobo (2 file(s) modified)
[E2] preprocessor.lua: You can now use "number" as an input/output/persist type.
[E2] wirelink.lua: The aforementioned quirks with array/table should be fixed now.
~ /trunk/wire/lua/entities/gmod_wire_expression2/base/preprocessor.lua
~ /trunk/wire/lua/entities/gmod_wire_expression2/core/wirelink.lua
More...
So it's no longer defaulting to a number type? Or will it still default?
it probaly will but this is just starting to make e2 "strongly-types"
Questions, Comments and Concerns about any of
my posts can be directed to my website which is at
http://vbitz.wordpress.com on the comments post
E2 has always been strongly typed.
inputs/outputs/persist still default to numbers
however, "number" is highlighted as a type in @directives, but caused an error because the type is actually named "normal".
to fix that I had 2 options: remove the highlighting (complicated and bad) or add number as an alias. (simple and logical)
"It's easy to win forgiveness for being wrong; being right is what gets you into real trouble." - Bjarne Stroustrup
Lífið læðist lúmskt áfram
Bookmarks