Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   simple build project error! (http://www.chiefdelphi.com/forums/showthread.php?t=81417)

Tds123 29-01-2010 11:50

simple build project error!
 
ok so guys here is the pic of my erorr message!

http://tinypic.com/r/2vba9lw/6

and here is my actual code!

http://paste.pocoo.org/show/171657/

can someone help fix the problem on line 27 with the rightjoy

i do not understand the issue please help! as soon as possiblee

byteit101 29-01-2010 16:51

Re: simple build project error!
 
you forgot a lot of commas
Code:

public:
                RobotDemo(void):
                                myRobot(1, 2), // these must be initialized in the same order
                                leftjoy(1), //comma as they are declared above.
                                rightjoy(2), //comma
                                armjoy(3), //comma
                                arm(3), //comma  // The arm Jaguar is on port 3
                                roller(1), //comma
                                winch(2)//no comma, last item
{
                GetWatchdog().SetExpiration(0.1);
}



All times are GMT -5. The time now is 02:00.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi