Last night I found a couple of my 'normal' shortcuts that didn't work and thought of some things I wish there was.
1)
CODE
for ( ; i<10; i++) { somecode }crashed me out of SL as soon as I tried to save it. I don't think it brought down the sim, although when I logged back in it was to a different sim.
2)
CODE
for (integer i=0; i<10;i++) {some code }is, unfortunatly incorrect syntax. (Or I typoed when I tried it).
3) Maybe I declare variables too much, but could we have int as an alternative to integer? I'm not suggesting replacing integer, that would break too many existing scripts.
4) Related to 3, and probably near impossible to implement, some sort of macro/define system. Then I could say
CODE
#define int integerat the top of my script and save myself some time and inprove the readability of my scripts. And things like
CODE
#define for10 for(int i;i<10;i++)All such a macro/define would do is replace text on compile.
I'm sure I will think of more ways to be lazy as I get more into SL scripting, but this is a start.
