View Single Post
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 06-27-2019 , 11:04   Re: Enum Structs Available This Holiday Season
Reply With Quote #29

Quote:
Originally Posted by Fyren View Post
For now, I think you can do Foo i; i = bar[0];. I checked that it compiled, but not that it worked as expected. Assignment here is handled differently than initialization and initialization only works with constants. We'll look into it further.
I just noticed that enum structs works like Arrays (I pushed a struct to an array using PushArray and retrieved it back and it worked), but it doesn't actually work in the same sense as arrays can be accessed using pointers
TheDS1337 is offline