Re: [fpc-devel] New language feature suggestion (probably not existing in Delphi)

2010-12-02 Thread Hans-Peter Diettrich
Max Vlasov schrieb: An idea here is to introduce a directive (maybe something else, but directive looks more straightforward), let's call it readonly that forces the method to be able only to read the fields and properties of the object it belongs to and forbid any writing. Sure in this case

Re: [fpc-devel] New language feature suggestion (probably not existing in Delphi)

2010-12-02 Thread Max Vlasov
On Wed, Dec 1, 2010 at 6:44 PM, Hans-Peter Diettrich drdiettri...@aol.comwrote: I thing there might be some logical contradictions I'm not aware at the moment, but I think they can be resolved with general oop inheritance logic. My experience with const methods in C++ often resulted in a

Re: [fpc-devel] New language feature suggestion (probably not existing in Delphi)

2010-12-02 Thread Alexander Klenin
On Thu, Dec 2, 2010 at 22:28, Max Vlasov max.vla...@gmail.com wrote: Just curious, was it a fight with yourself or with someone else's code? Sure I had no experience with const methods, but I just can't imagine how function or procedures intended to caclulate/find/collect some information from

[fpc-devel] Pascal for scientific computation

2010-12-02 Thread Mark Morgan Lloyd
A few days ago I came across a Pascal implementation called Pascal-XSC, formerly Pascal-SC. This is a portable compiler oriented towards mathematicians originating at Karlsruhe, it is written in and compiles to C and is now GPLed. It appears to work although I've not exercised it thoroughly.

Re: [fpc-devel] Pascal for scientific computation

2010-12-02 Thread Jeppe Johansen
Frankly, from a quick skim read, the only thing I find interesting about that language is the column selection operator, for multidimensional arrays, and I think that it might even be possible to integrate that into FreePascal. Such a feature would make FreePascal much easier to use in

[fpc-devel] Problems with rapid fpSend calls on x64 Ubuntu 10.10 (updated)

2010-12-02 Thread Andrew Brunner
OS: Ubuntu 10.10 x64 all updates as of this am. But problem has persisted for days now. Laz/FPC: Today's trunk worker thread running issues a call to fpSend with iSend Bytes in buffer Try RSRP^.LastCall:=Sockets.fpSend(RSRP^.Info.Socket,@FSendBuffer[0],iSend,0); except

Re: [fpc-devel] Problems with rapid fpSend calls on x64 Ubuntu 10.10 (updated)

2010-12-02 Thread Michael Van Canneyt
On Thu, 2 Dec 2010, Andrew Brunner wrote: OS: Ubuntu 10.10 x64 all updates as of this am.  But problem has persisted for days now. Laz/FPC: Today's trunk worker thread running issues a call to fpSend with iSend Bytes in buffer     Try  

Re: [fpc-devel] Problems with rapid fpSend calls on x64 Ubuntu 10.10 (updated)

2010-12-02 Thread Andrew Brunner
On Thu, Dec 2, 2010 at 1:14 PM, Michael Van Canneyt mich...@freepascal.orgwrote: It would help if you could say what the exception exactly is ? Thanks Michael, Well all I see is a SIGPIPE exception. As stated before the actual FPC exception was not raised (or the except block was not

Re: [fpc-devel] Problems with rapid fpSend calls on x64 Ubuntu 10.10 (updated)

2010-12-02 Thread Michael Van Canneyt
On Thu, 2 Dec 2010, Andrew Brunner wrote: On Thu, Dec 2, 2010 at 1:14 PM, Michael Van Canneyt mich...@freepascal.org wrote: It would help if you could say what the exception exactly is ? Thanks Michael, Well all I see is a SIGPIPE exception.  As stated before the actual FPC exception