Re: [fpc-pascal] a proposal about "with" syntax

2013-03-16 Thread
Hi, On 2013/03/17, at 11:37, Flávio Etrusco wrote: > > No, he's saying that *his hack* using class helper wouldn't cover this > case (two objects in the same 'with' clause). > Well, more to the point, it only works with OOP. I use WITH on structures, etc. all the time, so ... yes implementing

Re: [fpc-pascal] a proposal about "with" syntax

2013-03-16 Thread
th for a helper in this case, > IMHO. "with" itself is a convenience syntax anyway, why adding an "as" to > make it more convenient a bad idea? I don't know what's make it complex if > there are 2 or more subject in the with? >

Re: [fpc-pascal] a proposal about "with" syntax

2013-03-16 Thread
Hi, I also think this would be useful, but for other reasons, often times I end up with code like the following: With BigLongThingIDontWantToWriteOutEverySingleTime do begin Height := 100; Width := 200; ... SomeOtherObject.Submit(BigLongThingIDontWantToWriteOutEverySingleTim

Re: [fpc-pascal] Object pascal language compatiblity - was: Does FPC 2.8.0 can actually still be called Pascal ?

2013-03-09 Thread
Hi, On 2013/02/28, at 9:16, Simon Kissel wrote: >> I still believe FPC should leave the "delphi compatible" idea, or >> clearly state that it means "compatible with Delphi 7 for legacy >> purposes" and nothing newer. Then innovate the rest of the language on >> its own in a Pascal-like manner. >

Re: [fpc-pascal] Exe file names (was:differences between .pp and .pas files)

2013-03-09 Thread
Joao, I think you had better be careful what you say. Someone will rename their entire /usr/bin directory and wonder why the system stops working! You can rename executables you create, but don't change the names of standard ones! Anyway you can tell what programs unix will *try* to run based

Re: [fpc-pascal] differences between .pp and .pas files

2013-03-09 Thread
Hi, I also always use .pas, but the idea of using .pp for sources only intended to compile in FPK and .pas for more portable source code is interesting. The only problem is there is no free Delphi for me to test with anymore, right? Since FreePascal works on nearly every platform, I don't worr

Re: [fpc-pascal] What's a unit?

2013-03-09 Thread
Hi, On 2013/02/19, at 22:53, Marco van de Voort wrote: > In our previous episode, Mark Morgan Lloyd said: >> Does a unit- rather than something it contains- have any sort of >> representation which is recognisably distinct from an object? > > Maybe. But what it certain doesn't have is a runtime

Re: [fpc-pascal] Best way to transfer data between applications?

2012-10-30 Thread
Hi, Wow I am surprised this is continuing so long - I take it other people have interest in the subject too. On 2012/10/30, at 17:08, "Jorge Aldo G. de F. Junior" wrote: > 2012/10/30 印場 乃亜 : >> Hi, >> >> Wow, Class Factories - I am having nightmarish flashback

Re: [fpc-pascal] Best way to transfer data between applications?

2012-10-29 Thread
t;> Well, using only standard components i believe you should use >> TSimpleIPC components + TPersistent classes >> >> All you need is a way to stream the TPersistent into a string or >> stream then pass that resulting string/stream to the simple ipc >> components. &

Re: [fpc-pascal] Best way to transfer data between applications?

2012-10-29 Thread
ar, so perhaps I need to learn the capabilities of the real units before asking more. Mainly my question was asking if there is a "standard" way to do this, since it seems like a common thing to need to do. Thank you, Noah Silva On 2012/10/29, at 18:00, ik wrote: > On Mon, Oct

Re: [fpc-pascal] Best way to transfer data between applications?

2012-10-29 Thread
Hi, I will take a look at WST and see how it fits. Thanks for the tip. Thank you, Noah Silva On 2012/10/29, at 18:43, Michael Van Canneyt wrote: > > > On Mon, 29 Oct 2012, 印場 乃亜 wrote: > >> Greetings, >> >> I am familiar with the basic underlying meth

Re: [fpc-pascal] Delphi's anonymous functions in Free Pascal

2012-10-28 Thread
Hi, On 2012/08/31, at 2:51, Jürgen Hestermann wrote: > Am 2012-08-30 18:29, schrieb Ralf A. Quint: > > Pascal has evolved since Wirth's original design back in the 70s > > This is true. But there are two aspects of the Pascal extensions of the last > years (decades) that contradict with what I

Re: [fpc-pascal] Delphi's anonymous functions in Free Pascal

2012-10-28 Thread
Hi, ... > - > This is funny to remember today. ;-) > When i run BP 7 on 80286 computers, and then compared with size and speed of > TP 5.5 - i was sure as hell that OOP is for lazy programmers, who cannot > make code fast and small. > And i remember comparing speed of Virtual Pascal and con

Re: [fpc-pascal] Editing resource of executable

2012-10-28 Thread
Hi, Does anyone know if the version of OnGuard listed below is working on OS X? I started customizing it myself to work on OS X, but due to lack of time, I haven't finished. (It compiled, but not everything works 100% yet). If they don't have it working, perhaps I should contribute my changes

Re: [fpc-pascal] Access to compiler's internal data structures

2012-10-28 Thread
Hi, I am sure the ones included in FCL are much fancier and know OOP, etc. I have a relatively primitive one used here too: https://github.com/GalapagosAdmin/PasViz I just use it for analyzing unit dependencies, so I don't need too many fancy features. Also, I didn't write the parser, and it

Re: [fpc-pascal] Xcode

2012-10-28 Thread
Hi, Even for me (and I have installed FPC / Lazarus on Mac like 100 times now), things are mysterious sometimes. I upgraded my 10.7 laptop to 10.8, and the existing lazarus/ FPC, and XCode continued to work fine, despite reading various places that upon upgrading, the Unix Tools would be delet

[fpc-pascal] Best way to transfer data between applications?

2012-10-28 Thread
Greetings, I am familiar with the basic underlying methods available for transferring data between processes on Windows and Unix, i.e. Pipes, Shared memory, and TCP/IP - but what I am not familiar with is any higher level functionality that may be available on FPC. As an example: I have one

Re: [fpc-pascal] Unicodestrings and Assign(File)

2012-05-12 Thread
Hi, On 2012/05/12, at 18:31, Jürgen Hestermann wrote: > Noah Silva schrieb: > > Thus, the only question would be whether you have to manually convert a > > UnicodeString to a UTF8String or not. > > No, that would not help. Under Windows you can access long paths *only* when > using special fun