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; ...

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

2013-03-16 Thread
it complex if there are 2 or more subject in the with? 2013/3/17 Daniel Gaspary dgasp...@gmail.com On Sat, Mar 16, 2013 at 3:02 PM, 印場 乃亜 shir...@galapagossoftware.com wrote: With BigLongThingIDontWantToWriteOutEverySingleTime do begin Height := 100; Width := 200

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

2013-03-16 Thread
Hi, On 2013/03/17, at 11:37, Flávio Etrusco flavio.etru...@gmail.com 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

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

2013-03-09 Thread
Hi, On 2013/02/19, at 22:53, Marco van de Voort mar...@stack.nl 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

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

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

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 sc...@untergrund.net 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

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 jagf...@gmail.com wrote: 2012/10/30 印場 乃亜 shir...@galapagossoftware.com: Hi, Wow, Class Factories - I am having nightmarish

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 mich...@freepascal.org wrote: On Mon, 29 Oct 2012, 印場 乃亜 wrote: Greetings, I am familiar with the basic underlying methods available

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

2012-10-29 Thread
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 ido...@gmail.com wrote: On Mon, Oct 29, 2012 at 5:52 AM, 印場 乃亜 shir

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

2012-10-29 Thread
into a string or stream then pass that resulting string/stream to the simple ipc components. That will do what you are asking, without much fuss... 2012/10/30 印場 乃亜 shir...@galapagossoftware.com: Hi, I read about MSGPACK before, but it seems to be a binary version of JSON, right? I

[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

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

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

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

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

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 juergen.hesterm...@gmx.de 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

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 functions