Re: [fpc-pascal] Bls: Bug in FPC 3.0.0 (was: Bug in FPC 3.0.0?)

2016-02-24 Thread Sven Barth
Am 25.02.2016 02:00 schrieb "Mr Bee" : > Maybe FPC devs should give us the "rule" or policy about what kind of change that is acceptable and not acceptable. So when we think of something new we could look at the rule and if it's doesn't comply then we don't need to bother to propose. There is not

[fpc-pascal] MSEide+MSEgui 4.2

2016-02-24 Thread Martin Schreiber
Hi, MSEide+MSEgui 4.2 has been released: https://sourceforge.net/projects/mseide-msegui/files/mseide-msegui/4.2/ There are also new versions of MSEgit, MSEspice and MSErun: https://sourceforge.net/projects/mseuniverse/files/ New target: Windows 64 bit. Martin ___

[fpc-pascal] Bls: Bug in FPC 3.0.0 (was: Bug in FPC 3.0.0?)

2016-02-24 Thread Mr Bee
Pada Rabu, 24 Februari 2016 18:40, Marco van de Voort menulis: > In our previous episode, Mark Morgan Lloyd said: > > > (remember recent discussion about IfThen pseudo-function). > > > > More relevant to your situation, I remember discussion about adding an > > identifier to WITH to use as a

Re: [fpc-pascal] Possible bug in Numeric test

2016-02-24 Thread Bart
On 2/24/16, steveg wrote: > Not sure if this is considered a bug or not :) Fully compatible with Delphi 7. {$apptype console} {$ifdef fpc} {$mode objfpc} {$h+} {$codepage utf8} {$endif} {$R+} uses classes,sysutils; function IsNum( const sSrc :string ) :boolean; var Code :integer; Num

Re: [fpc-pascal] Possible bug in Numeric test

2016-02-24 Thread Vojtěch Čihák
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 Komu: Datum: 24.02.2016 22:22 Předmět: Re: [fpc-pascal] Possible bu

Re: [fpc-pascal] Possible bug in Numeric test

2016-02-24 Thread Nitorami
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 Sent from the Free Pascal - General mailing lis

Re: [fpc-pascal] Possible bug in Numeric test

2016-02-24 Thread Vojtěch Čihák
I tried your function in FPC 3.0.0 in mode ObjFPC and it returns False for string 'E1/E2/etc'.   V. __ Od: steveg Komu: "FPC-Pascal users discussions" Datum: 24.02.2016 00:57 Předmět: [fpc-pascal] Possible bug in Numeric test Not su

Re: [fpc-pascal] Compiler Mode?

2016-02-24 Thread Vojtěch Čihák
Assigning static class methods to procedure variables in ObjFPC would be very nice feature.   V. __ Od: Sven Barth Komu: "FPC-Pascal users discussions" Datum: 24.02.2016 17:22 Předmět: Re: [fpc-pascal] Compiler Mode? * Unlogical appr

Re: [fpc-pascal] Bug in FPC 3.0.0 (was: Bug in FPC 3.0.0?)

2016-02-24 Thread Sven Barth
Am 24.02.2016 16:44 schrieb "Mark Morgan Lloyd" < markmll.fpc-pas...@telemetry.co.uk>: > > Bo Berglund wrote: >> >> On Tue, 23 Feb 2016 23:58:37 +0100, Sven Barth >> wrote: >>> >>> What would really help here would be the warning that Jonas mentioned... >>> For the above you could just use a local

Re: [fpc-pascal] Bug in FPC 3.0.0 (was: Bug in FPC 3.0.0?)

2016-02-24 Thread Sven Barth
Am 24.02.2016 12:30 schrieb "Bo Berglund" : > > On Tue, 23 Feb 2016 23:58:37 +0100, Sven Barth > wrote: > > > >What would really help here would be the warning that Jonas mentioned... > >For the above you could just use a local variable and be done with it. No > >need to try to "fix" the with-stat

Re: [fpc-pascal] Compiler Mode?

2016-02-24 Thread Sven Barth
Am 24.02.2016 13:10 schrieb "Maciej Izak" : > > 2016-02-24 12:48 GMT+01:00 Anthony Walter : >> >> On another forum a Free Pascal user opined that {$MODE DELPHI} is wrong and should not be used other than for people or companies trying to convert Delphi code to Free Pascal. >> >> What's the official

Re: [fpc-pascal] Bug in FPC 3.0.0 (was: Bug in FPC 3.0.0?)

2016-02-24 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Tue, 23 Feb 2016 23:58:37 +0100, Sven Barth wrote: What would really help here would be the warning that Jonas mentioned... For the above you could just use a local variable and be done with it. No need to try to "fix" the with-statement. I really fully agree! Perhaps

Re: [fpc-pascal] Compiler Mode?

2016-02-24 Thread Marco van de Voort
In our previous episode, Michael Van Canneyt said: > > As said, ours is an opinion. ... and not unanimous :-) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Bug in FPC 3.0.0 (was: Bug in FPC 3.0.0?)

2016-02-24 Thread Serguei TARASSOV
etrusco wrote > I loved 'with' while I was learning Delphi/Pascal and hated after the > first few months since using it professionaly. I truly believe it > warrants/deserves some advice in the documentation, for the beginners. > With the code completion in Lazarus there's even less reason to use it

Re: [fpc-pascal] Bug in FPC 3.0.0 (was: Bug in FPC 3.0.0?)

2016-02-24 Thread Flávio Etrusco
On Wed, Feb 24, 2016 at 9:00 AM, Michael Van Canneyt wrote: > > > On Wed, 24 Feb 2016, Flávio Etrusco wrote: > >> On Wed, Feb 24, 2016 at 8:39 AM, Marco van de Voort >> wrote: >>> >>> In our previous episode, Mark Morgan Lloyd said: > (remember recent discussion about IfThen pseudo-func

Re: [fpc-pascal] Bug in FPC 3.0.0 (was: Bug in FPC 3.0.0?)

2016-02-24 Thread Serguei TARASSOV
Good, I see yours points. Not so impressed, don't really share. The community spirit does not inspire confidence. I stay with FPC/Lazarus for some fun projects like FBProfiler (https://sourceforge.net/projects/fbprofiler/) but for "real world programs" the migration is canceled until better times.

Re: [fpc-pascal] Compiler Mode?

2016-02-24 Thread Maciej Izak
2016-02-24 13:15 GMT+01:00 Michael Van Canneyt : > As said, ours is an opinion. Your mileage may vary. Phew ;) everyone can be happy! -- Best regards, Maciej Izak ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/

Re: [fpc-pascal] Compiler Mode?

2016-02-24 Thread Michael Van Canneyt
On Wed, 24 Feb 2016, Graeme Geldenhuys wrote: On 2016-02-24 11:57, Michael Van Canneyt wrote: We think {$Mode objpas} is the better mode, but this is just our private opinion. I assume you meant: {$mode objfpc} ? Yes, of course, typo... Michael. __

Re: [fpc-pascal] Compiler Mode?

2016-02-24 Thread Michael Van Canneyt
On Wed, 24 Feb 2016, Maciej Izak wrote: 2016-02-24 12:48 GMT+01:00 Anthony Walter : On another forum a Free Pascal user opined that {$MODE DELPHI} is wrong and should not be used other than for people or companies trying to convert Delphi code to Free Pascal. What's the official position on

Re: [fpc-pascal] Compiler Mode?

2016-02-24 Thread Graeme Geldenhuys
On 2016-02-24 11:57, Michael Van Canneyt wrote: > We think {$Mode objpas} is the better mode, but this is just our private > opinion. I assume you meant: {$mode objfpc} ? Regards, - Graeme - ___ fpc-pascal maillist - fpc-pascal@lists.freepasca

Re: [fpc-pascal] Compiler Mode?

2016-02-24 Thread Maciej Izak
2016-02-24 12:48 GMT+01:00 Anthony Walter : > On another forum a Free Pascal user opined that {$MODE DELPHI} is wrong > and should not be used other than for people or companies trying to convert > Delphi code to Free Pascal. > > What's the official position on this point? > Delphi is IMO the bes

Re: [fpc-pascal] Bug in FPC 3.0.0 (was: Bug in FPC 3.0.0?)

2016-02-24 Thread Michael Van Canneyt
On Wed, 24 Feb 2016, Flávio Etrusco wrote: On Wed, Feb 24, 2016 at 8:39 AM, Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: > (remember recent discussion about IfThen pseudo-function). More relevant to your situation, I remember discussion about adding an identif

Re: [fpc-pascal] Compiler Mode?

2016-02-24 Thread Michael Van Canneyt
On Wed, 24 Feb 2016, Anthony Walter wrote: On another forum a Free Pascal user opined that {$MODE DELPHI} is wrong and should not be used other than for people or companies trying to convert Delphi code to Free Pascal. What's the official position on this point? People are free to use whate

Re: [fpc-pascal] Bug in FPC 3.0.0 (was: Bug in FPC 3.0.0?)

2016-02-24 Thread Flávio Etrusco
On Wed, Feb 24, 2016 at 8:39 AM, Marco van de Voort wrote: > In our previous episode, Mark Morgan Lloyd said: >> > (remember recent discussion about IfThen pseudo-function). >> >> More relevant to your situation, I remember discussion about adding an >> identifier to WITH to use as an explicit sho

[fpc-pascal] Compiler Mode?

2016-02-24 Thread Anthony Walter
On another forum a Free Pascal user opined that {$MODE DELPHI} is wrong and should not be used other than for people or companies trying to convert Delphi code to Free Pascal. What's the official position on this point? ___ fpc-pascal maillist - fpc-pa

Re: [fpc-pascal] Bug in FPC 3.0.0 (was: Bug in FPC 3.0.0?)

2016-02-24 Thread Marco van de Voort
In our previous episode, Mark Morgan Lloyd said: > > (remember recent discussion about IfThen pseudo-function). > > More relevant to your situation, I remember discussion about adding an > identifier to WITH to use as an explicit shortcut, i.e. something like > > with foo= bar do >foo.someFi

Re: [fpc-pascal] Bug in FPC 3.0.0 (was: Bug in FPC 3.0.0?)

2016-02-24 Thread Bo Berglund
On Tue, 23 Feb 2016 23:58:37 +0100, Sven Barth wrote: > >What would really help here would be the warning that Jonas mentioned... >For the above you could just use a local variable and be done with it. No >need to try to "fix" the with-statement. I really fully agree! When working a few years bac