syntax error help
bernd.becker at METOFFICE.GOV.UK
bernd.becker at METOFFICE.GOV.UK
Mon Mar 6 12:43:25 EST 2006
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
More information about the gradsusr
mailing list