Re: [fpc-pascal] Postscriptcanvas

2012-01-15 Thread Felipe Monteiro de Carvalho
On Fri, Jan 13, 2012 at 3:31 PM, David Copeland wrote: > Is it possible to use the PostScriptCanvas unit in a non-gui program? For drawing or for printing? -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] installing FPC 2.6.0 on OS/2

2012-01-15 Thread waldo kitty
On 1/15/2012 18:41, Tomas Hajny wrote: On Sun, January 15, 2012 23:43, waldo kitty wrote: Thanks for letting me know about it. I suggest that you file a standard bug report (not that I expect anyone else to fix it if the problem is restricted to the OS/2 version, but it becomes visible for other

[fpc-pascal] convert "epoch" to UTC

2012-01-15 Thread waldo kitty
i'm needing to convert a "UTC epoch" date to a "standard time string"... by that, i mean that i want to get something like "2011-01-13 22:24:04" out of the "epoch" number 12013.9338171... the above "epoch" number is (supposedly) built like this... 12 == 2012 013 == 13th day of the year .9338

Re: [fpc-pascal] installing FPC 2.6.0 on OS/2

2012-01-15 Thread Tomas Hajny
On Sun, January 15, 2012 23:43, waldo kitty wrote: . . > i didn't think so, either... i mean, it would seem that fpc looks in the > current > directory already... as such, it doesn't list the .\ directory in its > list... fp > seems to need this additional assistance, maybe? ;) link.res is only

[fpc-pascal] Re: Help!!

2012-01-15 Thread Malvin
thanks for your information On 1/15/12, Mattias Gaertner [via Free Pascal - General] wrote: > > > On Sun, 15 Jan 2012 05:58:21 -0800 (PST) > Malvin wrote: > >> So far i've managed to do the program quite well, and I was wondering, can >> i close the main form (form1) whils opening form2 and not

Re: [fpc-pascal] installing FPC 2.6.0 on OS/2

2012-01-15 Thread waldo kitty
On 1/15/2012 17:17, Tomas Hajny wrote: On 15 Jan 12, at 13:31, waldo kitty wrote: On 1/14/2012 16:49, Tomas Hajny wrote: Any difference between link.res file created in the two cases? yes... the first thing i note is the fp link.res includes the .\ directory and the fpc one does not... indic

Re: [fpc-pascal] installing FPC 2.6.0 on OS/2

2012-01-15 Thread Tomas Hajny
On 15 Jan 12, at 13:31, waldo kitty wrote: > On 1/14/2012 16:49, Tomas Hajny wrote: . . > > Any difference between link.res file created in the two cases? > > yes... > > the first thing i note is the fp link.res includes the .\ directory and the > fpc > one does not... indicated with a 1 belo

Re: [fpc-pascal] Advanced Records - Why not available by default?

2012-01-15 Thread Marco van de Voort
In our previous episode, J.-c. Chu said: > The attached file does not compile in my trunk-version compiler. As Sven already said, that example doesn't compile in Delphi either. Embarcadero Delphi for Win32 compiler version 22.0 Copyright (c) 1983,2010 Embarcadero Technologies, Inc. xxx.dpr(8) xxx

Re: [fpc-pascal] Advanced Records - Why not available by default?

2012-01-15 Thread J.-c. Chu
The attached file does not compile in my trunk-version compiler. On January 16, 2012, Sven Barth wrote: > On 15.01.2012 16:55, J.-c. Chu wrote: >> class abstract? >> >> On January 15, 2012, Marco van de Voort wrote: >>> Which ones aren't? >> > > Implemented since 2.4.2 or 2.4.4 AFAIK. > > Regard

Re: [fpc-pascal] Advanced Records - Why not available by default?

2012-01-15 Thread Jetcheng Chu
I’m not brave enough to predict what Pascal is going to look like in a decade. It’s true that features should not be added promiscuously, but I don’t think Delphi is a fair target of blame. Let’s again have a look at the table in . Basically we can group

Re: [fpc-pascal] installing FPC 2.6.0 on OS/2

2012-01-15 Thread waldo kitty
On 1/14/2012 16:49, Tomas Hajny wrote: Is there any difference between ppas.cmd created by fp.exe and fpc.exe if you add option -s to compilation from both? i can't find a ppas.cmd when i use "fp -s" and hit F9 or ALT-F9 to compile... it still fails with an error linking... i am allowing the d

Re: [fpc-pascal] Advanced Records - Why not available by default?

2012-01-15 Thread Sven Barth
On 15.01.2012 16:47, Marco van de Voort wrote: In our previous episode, J.-c. Chu said: Frankly, every new feature will be a mere increase of complexity if you reject learning about it. There is a listing, despite not up-to-date, of new language features since Delphi 7, at

Re: [fpc-pascal] Advanced Records - Why not available by default?

2012-01-15 Thread Sven Barth
On 15.01.2012 16:55, J.-c. Chu wrote: class abstract? On January 15, 2012, Marco van de Voort wrote: Which ones aren't? Implemented since 2.4.2 or 2.4.4 AFAIK. Regards, Sven ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists

Re: [fpc-pascal] Advanced Records - Why not available by default?

2012-01-15 Thread Jürgen Hestermann
J.-c. Chu schrieb: > Frankly, every new feature will be a mere increase of complexity if you > reject learning about it. So how should in your opinion (Object) Pascal look like in say 10 or 15 years? If new "features" are added with the same speed as in the past, it would become a monster that

Re: [fpc-pascal] Advanced Records - Why not available by default?

2012-01-15 Thread J.-c. Chu
class abstract? On January 15, 2012, Marco van de Voort wrote: > Which ones aren't? -- Best Regards, J.-c. Chu ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Advanced Records - Why not available by default?

2012-01-15 Thread Marco van de Voort
In our previous episode, J.-c. Chu said: > Frankly, every new feature will be a mere increase of complexity if you > reject learning about it. > > There is a listing, despite not up-to-date, of new language features > since Delphi 7, at . Not all > of the

Re: [fpc-pascal] sorting and merging array of records

2012-01-15 Thread Marco van de Voort
In our previous episode, Tomas Hajny said: > > Well, I just played with using CHMs with FP IDE under OS/2 and > realized that I get a nice immediate SIGSEGV when using the context > help with the CHM help files, Hopefully fixed. Somehow the documentation generated empty topic titles all of a s

Re: [fpc-pascal] Advanced Records - Why not available by default?

2012-01-15 Thread Daniel Gaspary
On Sun, Jan 15, 2012 at 11:44, J.-c. Chu wrote: > There is a listing, despite not up-to-date, of new language features > since Delphi 7, at .  Not all > of them are currently implemented in FPC. I believe could be really useful to have a grid style in jus

Re: [fpc-pascal] Advanced Records - Why not available by default?

2012-01-15 Thread Daniel Gaspary
On Sun, Jan 15, 2012 at 04:43, J.-c. Chu wrote: > For one thing, class variables, class methods, and class properties are > subject to visibility controls and inheritance. > > So you can, for example, have a private class variable initialized with > class constructor (which avoids code in the INIT

Re: [fpc-pascal] Advanced Records - Why not available by default?

2012-01-15 Thread Sven Barth
Am 15.01.2012 00:59 schrieb "Lars" : > > Daniel Gaspary wrote: > > Any special reason to Advanced Records be available only in Delphi Mode ? > > > Personally, I'm getting sick of all the new features added to delphi that > don't add anything meaningful, and just add complexity to the compiler. > wh

Re: [fpc-pascal] Re: Help!!

2012-01-15 Thread Mattias Gaertner
On Sun, 15 Jan 2012 05:58:21 -0800 (PST) Malvin wrote: > So far i've managed to do the program quite well, and I was wondering, can > i close the main form (form1) whils opening form2 and not closing the app? > Is there any way that I can do it? If you mean LCL forms: The MainForm can not be clo

[fpc-pascal] Re: Help!!

2012-01-15 Thread Malvin
So far i've managed to do the program quite well, and I was wondering, can i close the main form (form1) whils opening form2 and not closing the app? Is there any way that I can do it? And if i were to make a new 'ID' (on the app), is there any way that i can write that into my database? What comma

Re: [fpc-pascal] Advanced Records - Why not available by default?

2012-01-15 Thread J.-c. Chu
Frankly, every new feature will be a mere increase of complexity if you reject learning about it. There is a listing, despite not up-to-date, of new language features since Delphi 7, at . Not all of them are currently implemented in FPC. Could you point

Re: [fpc-pascal] Advanced Records - Why not available by default?

2012-01-15 Thread Jürgen Hestermann
Lars schrieb: Personally, I'm getting sick of all the new features added to delphi that don't add anything meaningful, and just add complexity to the compiler. why didn't borland just make people use old borland objects with methods instead of new advanced records? Old borland objects are advan