Oh, I didn't catch it. So there must be some checking for E in the string - at least on the first place - because strings 'E' and '1E' returns FALSE. ______________________________________________________________
Od: Nitorami <mneuba...@alice-dsl.net> Komu: <fpc-pascal@lists.freepascal.org> Datum: 24.02.2016 22:22 Předmět: Re: [fpc-pascal] Possible bug in Numeric test
Steve probably means "when passed 'E1' or 'E2' etc." Indeed IsNum ('E1') interprets it as zero and delivers TRUE. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Possible-bug-in-Numeric-test-tp5724297p5724319.html <http://free-pascal-general.1045716.n5.nabble.com/Possible-bug-in-Numeric-test-tp5724297p5724319.html> Sent from the Free Pascal - General mailing list archive at Nabble.com. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal <http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal>
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal