array[x][y]=blabla;
would be good... its much more readable
i know you won't let me down, justin... /me winks sexilyO_o how far can one go
67 posts
i know you won't let me down, justin... /me winks sexilyO_o how far can one go
Originally posted by justinThat's why I don't know if array's should be worried about now. I think eventually it would be best to wait until it is a bit easier to do the full version and when there is a bit more time to do it. I don't ever really like languages that take the function approach to arrays and such. It is much more of a hassle to first have to use the functions, and then when you find time and switch it over - the old functions will still have to be included in new versions.
Making the arrays accessed via a function rather than a new language syntax is a lot easier (I know this ultimately doesnt matter that much to everybody else, but it changes it from a quicky day project to a much larger project that could potentially break a lot of other shit)
Or, if you'd like to continue using function only on the right side of equation, use this for setting value:reg( variable ) = value; // set value
and blahblah = reg( variable ); // read value
It's like eval("reg"+number+"=blahblah"); stuff in other languages 😉value = reg( variable ); // almost same thing
Originally posted by UnConeDMy fear of adding loop capability would be what if a preset does an infinite loop? 🙂
I'd say no arrays for now. They'd only be really useful with proper looping control structures (though you could always use a skip=1 superscope as a for loop 😉 ).