View Full Version : spaces.
jeremy*
November 15th, 2002, 06:40 PM
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.
lostinbeta
November 15th, 2002, 07:13 PM
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.
jeremy*
November 15th, 2002, 08:14 PM
thanks, I didn't even know about that button.
lostinbeta
November 15th, 2002, 10:38 PM
No problem :)
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.