Path: chuka.playstation.co.uk!news From: sosman@terratron.com (Steven Osman) Newsgroups: scee.yaroze.beginners Subject: Re: --- Please help me --- Date: Thu, 20 May 1999 19:32:24 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 58 Message-ID: <374462e4.843921414@news.playstation.co.uk> References: <7i1km9$1184@chuka.playstation.co.uk> NNTP-Posting-Host: 209.27.57.69 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: Forte Agent 1.5/32.452 Here you go... two things : while (!done) { if (padConnected(0) == PADin) { if ((padType(0) == PADstandard) | (padType(0) == PADanalogue) | (padType(0) == PADdualshck)) { if (padState(0) & PADLup) { vpos--; } if (padState(0) & PADLdown) { vpos++; } if (padState(0) & PADLleft) { hpos--; } /* if (padState(0) & PADLleft){*/ if (padState(0) & PADLright) { hpos++; } } } /* } Don't need this here */ First of all, you closed the curlies too many times, so I commented the fourth one out. Second, you looked for the left pad button twice, never the right one. I doubt this is what you had intended! that is the line that is fixed. Steven On Thu, 20 May 1999 19:19:32 +0100, "Michael Dyer" wrote: >Hi folks. > >Me again. Still having trouble with my code. > >now i'm trying to change it so that you can move the timer around the >screen. > >Whenever i compile it says : > >parse error before '1' >no data type or definition > >(I don't remember excactly but it's something like that.) > >the code is included with this e-mail. > >Someone please help me again > >Loz >