Sign in to follow this  

A couple of questions

This topic is 4519 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

We are looking for a couple of features, that we aren't sure are supported. Any info on these (soon to be, or requires us to implement)? First, we'd like to initialize arrays in a C-like fashion: uint[] x(3) = { 0xdeadbeef, 0xfeed0123, 0x01234567 }; Though this doesn't work. I don't see in the documentation (or through experimentation) any way other than: uint[] x(3); x[0] = 0xdeadbeef; x[1] = 0xfeed0123; x[2] = 0x01234567; Any info? Also, the bitwise complement doesn't seem to work on uints. For example: x = 0xfeed0123; x = ~x; Fails with "Illegal operation on this datatype." Why isn't is supported for uints, ints, etc? Thanks, Suudy

Share this post


Link to post
Share on other sites
Initialization lists haven't been implemented yet. I plan to implement them some day, but the priority is quite low at the moment. If you'd like to contribute with the implementation I'd be grateful.

That the bitwise complement doesn't work for uint, ought to be a bug. I'll investigate this and keep you updated.

Share this post


Link to post
Share on other sites

This topic is 4519 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this