Improve the class example for several languages.

Fix numerous inaccuracies in index.html (where it exists) and eliminate
unnecessary differences between the example code being wrapped.
This commit is contained in:
Olly Betts 2014-02-23 18:05:50 +13:00
commit 34c97ffdbd
23 changed files with 154 additions and 412 deletions

View file

@ -14,7 +14,7 @@ print " Created square\n";
# ----- Access a static member -----
print "\nA total of " . Shape::get_nshapes() . " shapes were created\n";
print "\nA total of " . Shape::nshapes() . " shapes were created\n";
# ----- Member data access -----
@ -54,7 +54,7 @@ $s = NULL;
# the square.
$o = NULL;
print Shape::get_nshapes() . " shapes remain\n";
print Shape::nshapes() . " shapes remain\n";
print "Goodbye\n";
?>