Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.maple > #925

Re: Error, reserved word `fi` unexpected

From Rainer Rosenthal <r.rosenthal@web.de>
Newsgroups comp.soft-sys.math.maple
Subject Re: Error, reserved word `fi` unexpected
Date 2014-08-19 00:53 +0200
Message-ID <c5fedgFm88jU1@mid.individual.net> (permalink)
References <2652c30f-c9c2-496d-bbff-4a54100b04b1@googlegroups.com>

Show all headers | View raw


Am 19.08.2014 00:28, schrieb carlo.numerik@t-online.de:
> Hello,
> 
> a simple code
> 
> for n from 2 to 9 do  
>   if frac((3*10^n-1)/7) = 0 then print((n) fi;
> od;
> 
> get the error message: why????
> 
> Regards
> Carlo
> 

Because of the two opening brackets after "print".

Cheers,
Rainer

Back to comp.soft-sys.math.maple | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Error, reserved word `fi` unexpected carlo.numerik@t-online.de - 2014-08-18 15:28 -0700
  Re: Error, reserved word `fi` unexpected Rainer Rosenthal <r.rosenthal@web.de> - 2014-08-19 00:53 +0200
  Re: Error, reserved word `fi` unexpected "Nasser M. Abbasi" <nma@12000.org> - 2014-08-18 20:39 -0500
  Re: Error, reserved word `fi` unexpected carlo.numerik@t-online.de - 2014-08-19 01:13 -0700
  Re: Error, reserved word `fi` unexpected William Unruh <unruh@invalid.ca> - 2014-08-19 12:36 +0000

csiph-web