Am Sonntag, den 17.02.2008, 17:23 +0100 schrieb Jonas Maebe: > On 17 Feb 2008, at 17:19, Marc Santhoff wrote: > > > why does this program: > > > > > > program novariant; > > uses > > sysutils; > > var > > a, b: double; > > begin > > b := 0.4237; > > a := b**5; > > writeln(floattostr(a)); > > end. > > > > > > when running give that error message: > > The ** operator for doubles is declared in the math unit. Without > including the math unit, the only found ** operator is for variants.
I see. Thanks, especially for answering quickly, Marc _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal