I was just wondering how strict flash is when it comes to spaces with AS.
something like:
varName = 23;
vs.
varName=23;
which do you think is better? and where (if anywhere) would someone run into problems using one way versus the other.
I was just wondering how strict flash is when it comes to spaces with AS.
something like:
varName = 23;
vs.
varName=23;
which do you think is better? and where (if anywhere) would someone run into problems using one way versus the other.
It isn’t too strict on that.
If you use MX there is an autoformat button in the Actions panel, I love that button, youdon’t have to worry about spacing or putting the ; symbols in the right place, or indenting right. Just press the button and it does that for you.
It does not automatically close } tags though and it will not format if there is an error in your code (which is a good thing).
It is good to know when and when not to space or add things though, but as a backup there is always that button.
thanks, I didn’t even know about that button.
No problem
:: Copyright KIRUPA 2024 //--