Quote:
Originally posted by PPN
Basic Syntax
Use tabs to indent the line, this should be done everytime you open a new set of parenthesis and will continue until the closing parenthesis.
Parenthesis should be on a new line of there own like below
PHP Code:
if ($_REQUEST['do'] == 'var')
{
$var = 'test';
if ($bbuserinfo['usergroupid'] == 6)
{
echo 'your an admin';
}
}
|
Scott, can you please explain to me why this approach? i think this will only slow down the code writing process.
first, it takes alot longer to code using this technique.
second, the file will be huge in leght.
third, is a waist of time for every time you press an extra Enter.
i will not upgrade anyway to VB3, for a while. not until 3.1 or 3.2 is released.
|