Cocoadevcentral.com
Start here:
Skills Check
Make sure you understand the code below before continuing.
function display_area_code ($code) {
print ("$code ");
}
$area_codes[0] = 408;
$area_codes[1] = 650;
$area_codes[2] = 510;
/* this is a comment */
$count = 3;
for ($i = 0; $i < $count; $i++)
display_area_code ($area_codes[$i]);
This example has a function, a print statement, a comment, an array, variables, and a loop. If all of this makes sense to you, you're ready to use this tutorial.
http://cocoadevcentral.com/articles/000081.php
Skills Check
Make sure you understand the code below before continuing.
function display_area_code ($code) {
print ("$code ");
}
$area_codes[0] = 408;
$area_codes[1] = 650;
$area_codes[2] = 510;
/* this is a comment */
$count = 3;
for ($i = 0; $i < $count; $i++)
display_area_code ($area_codes[$i]);
This example has a function, a print statement, a comment, an array, variables, and a loop. If all of this makes sense to you, you're ready to use this tutorial.
http://cocoadevcentral.com/articles/000081.php
messor - 8. Mär, 20:12
0 Kommentare - Kommentar verfassen - 0 Trackbacks
Trackback URL:
https://messor.twoday.net/stories/5568296/modTrackback