syntax error help
Prince K. Xavier
xavier at CAOS.IISC.ERNET.IN
Mon Mar 6 12:53:57 EST 2006
Hi,
Try removing tabs, if you have used any. It looks like you have used it to
indent lines.
cheers,
Prince
On Mon, 6 Mar 2006 bernd.becker at METOFFICE.GOV.UK wrote:
> Initialize c=0 in the loop over r?
>
> On Mon, 2006-03-06 at 17:25, Kristian Nilssen wrote:
>> why do i get a syntax error on line 8?!? ...
>>
>> columns = 4
>> rows = 5
>> c = 0
>> r = 0
>> while(r < rows)
>> while(c < columns)
>> panelindex = r * columns + c
>> myvar = panelindex * 6 + 1
>> c = c + 1
>> endwhile
>> r = r + 1
>> endwhile
>>
>> 'quit'
> --
> Bernd Becker The Monthly Outlook
> Met Office FitzRoy Road Exeter Devon EX1 3PB United Kingdom
> Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050
> E-mail:bernd.becker at metoffice.gov.uk - http://www.metoffice.gov.uk
>
--
Prince K XAVIER
Centre for Atmospheric and Oceanic Sciences
Indian Institute of Science
Bangalore - 560 012
INDIA
http://caos.iisc.ernet.in/hpg/students/prince.html
__________________________________________________
Phone No.
+91 80 2293 2505 (Extn:201)
+91 98808 19172 (Mobile)
More information about the gradsusr
mailing list