View Single Post
Old 06-15-2008, 07:26 PM   #2 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 711
Thanks: 2
Salathe is on a distinguished road
Default

The missing ; before statement error was being generated because your New should not be capitalised, new Machine() works just fine. There are also a number of other errors mostly centred around improper capitalisation of the method/instance names.
__________________
Salathe is offline  
Reply With Quote