Functions are global to other functions. This approach suits people who
think in VB. (People who think “of” VB are likely to be Australians
thinking of a very popular and tasty beer.)
think in VB. (People who think “of” VB are likely to be Australians
thinking of a very popular and tasty beer.)
There is one other thing you might note in my examples. PHP lets you
write:
write:
<?php
$x
="blue";
print(
"The ocean is $xn");
/*
That is an unnatural act in VB. We can
read your PHP code easier if you write:
*/
$x="blue";
print("The ocean is " . $x . "n");
?>
If you use the . . approach, Homesite will pick up and highlight $x.
Homesite is an extremely popular editor for people working on ASP/VB sites
under NT so is probably what they will use when they start editing PHP.
Homesite is an extremely popular editor for people working on ASP/VB sites
under NT so is probably what they will use when they start editing PHP.