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

2013-03-05 Thread Sven Barth
Am 05.03.2013 22:36 schrieb "Dimitri Smits" : > > > > - Oorspronkelijk e-mail - > > Van: "Florian Klämpfl" > > Aan: "FPC-Pascal users discussions" > > Verzonden: Maandag 4 maart 2013 21:00:10 > > > > And how does this change the fact that it is an external cg not > > written > > in pascal

Re: [fpc-pascal] Get variable name at runtime

2013-03-05 Thread John Lee
Think there were reasons why it'd be useful - I'd like it so one can (easily) make a disk backup of specific variables' values eg on disk for programs (I have one) that need to be able to continue after stopping or a power failure. I know new facilities are never trivial, need maintenance etc, but

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

2013-03-05 Thread Dimitri Smits
- Oorspronkelijk e-mail - > Van: "Florian Klämpfl" > Aan: "FPC-Pascal users discussions" > Verzonden: Maandag 4 maart 2013 21:00:10 > And how does this change the fact that it is an external cg not > written > in pascal? the front-end would still be written in pascal. as a matter of

Re: [fpc-pascal] Get variable name at runtime

2013-03-05 Thread Darius Blaszyk
Here's why :) Unfortunately pascal macro's are rather limited compared to C. I know I know, you could potentially open up a can of worms, but sometimes more control is required. Darius On Mar 5, 2013, at 5:07 PM, Sven Barth wrote: > Am 05.03.2013 16:41, schrieb Darius Blaszyk: >> Is there an

Re: [fpc-pascal] Re: Get error information

2013-03-05 Thread Rainer Stratmann
Am Tuesday 05 March 2013 18:53:05 schrieb leledumbo: > You'll get it if you do as I say (compile 2nd program with -gl, up to all > units you want the error line information from) Is sdterr equal with /dev/stderr in Linux? ___ fpc-pascal maillist - fpc-

Re: [fpc-pascal] Re: Get error information

2013-03-05 Thread Rainer Stratmann
Am Tuesday 05 March 2013 18:53:05 schrieb leledumbo: > You'll get it if you do as I say (compile 2nd program with -gl, up to all > units you want the error line information from) > Ok, sorry I misunderstood. I thought you ment the error number. Thanks. How can I access the information stderr conta

Re: [fpc-pascal] Re: Text IDE, the displayed cursor position

2013-03-05 Thread Ebeling
Am Dienstag, den 05.03.2013, 14:20 +0100 schrieb Reinier Olislagers: > On 1-3-2013 15:03, Ebeling wrote: > > I am a low-level-user, who uses fpc only occasionally for small programs > > and only with 10 % of its functionality. For my purposes, the text IDE > > seems to be adequate. But I stumble u

[fpc-pascal] Re: Get error information

2013-03-05 Thread leledumbo
You'll get it if you do as I say (compile 2nd program with -gl, up to all units you want the error line information from) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Get-error-information-tp5713366p5713372.html Sent from the Free Pascal - General mailing li

Re: [fpc-pascal] Re: Get error information

2013-03-05 Thread Rainer Stratmann
Am Tuesday 05 March 2013 17:19:15 schrieb leledumbo: > If the 2nd program is FPC program and is compiled with -gl, then upon crash > StdErr will contain the runtime erorr information. 1st program can read > that when the 2nd program dies. Yes, I know some kind of that, but I need the whole error m

[fpc-pascal] Re: Get error information

2013-03-05 Thread leledumbo
If the 2nd program is FPC program and is compiled with -gl, then upon crash StdErr will contain the runtime erorr information. 1st program can read that when the 2nd program dies. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Get-error-information-tp5713366p5

Re: [fpc-pascal] Get variable name at runtime

2013-03-05 Thread Sven Barth
Am 05.03.2013 16:41, schrieb Darius Blaszyk: Is there any way macro's could help in this respect? I'm looking for an way to write the variable name and value to screen at runtime. No. I had once asked some time ago for a compiler intrinsic which returns the name of an identifier, but I was told

Re: [fpc-pascal] [news] DA-Soft discontinues AnyDAC component suite

2013-03-05 Thread stdreamer
On 5/3/2013 12:42 μμ, Graeme Geldenhuys wrote: On 2013-03-01 09:48, stdreamer wrote: find attached a screen shot with firedac installed on lazarus 1.1 Just so you know, by posting that image, you now painted a bulls-eye on your head. You are now violating the Embarcadero FireDAC EULA, which fo

Re: [fpc-pascal] Get variable name at runtime

2013-03-05 Thread Darius Blaszyk
Is there any way macro's could help in this respect? I'm looking for an way to write the variable name and value to screen at runtime. Darius On Mar 4, 2013, at 10:05 PM, Sven Barth wrote: > Am 04.03.2013 14:39, schrieb dhkblas...@zeelandnet.nl: >> Hi, >> >> How can I retrieve a variable nam

[fpc-pascal] Get error information

2013-03-05 Thread Rainer Stratmann
Is it possible to collect the error information when a program crashes? OS: Linux One program starts the program that crashes sometines. If the 2nd program crashes it goes back to the 1st program wich calls the 2nd program. It would be good if the 1st program can collect automatically somehow t

[fpc-pascal] Re: Text IDE, the displayed cursor position

2013-03-05 Thread Reinier Olislagers
On 1-3-2013 15:03, Ebeling wrote: > I am a low-level-user, who uses fpc only occasionally for small programs > and only with 10 % of its functionality. For my purposes, the text IDE > seems to be adequate. But I stumble upon a basic functionality: the > displayed cursor-position. > > When I sta

Re: [fpc-pascal] What happened with oldlinux unit?

2013-03-05 Thread Marco van de Voort
In our previous episode, Krzysztof said: > Free Pascal documentation has info about oldlinux unit which has > interesting functions like fstat or fsstat. But can't find this unit in my > FPC 2.7.1 Old linux was deprecated in December 2003. Since 2.6.0 it is no longer distributed by default. Moreov

[fpc-pascal] What happened with oldlinux unit?

2013-03-05 Thread Krzysztof
Hi, Free Pascal documentation has info about oldlinux unit which has interesting functions like fstat or fsstat. But can't find this unit in my FPC 2.7.1 Regards ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mai

Re: [fpc-pascal] Result: string

2013-03-05 Thread José Mejuto
El 05/03/2013 11:23, Howard Page-Clark escribió: The code that makes me wonder something is wrong is this one: [...] For me (win32, FPC 2.6.2) the output is identical (= "A") whether or not Result in TheA() is initialised manually or not. Perhaps 2.7.1 has a regression here if it differs fo

Re: [fpc-pascal] [news] DA-Soft discontinues AnyDAC component suite

2013-03-05 Thread Antonio Fortuny
Le 05/03/2013 11:42, Graeme Geldenhuys a écrit : On 2013-03-01 09:48, stdreamer wrote: find attached a screen shot with firedac installed on lazarus 1.1 Just so you know, by posting that image, you now painted a bulls-eye on your head. You are now violating the Embarcadero FireDAC EULA, which f

Re: [fpc-pascal] [news] DA-Soft discontinues AnyDAC component suite

2013-03-05 Thread Graeme Geldenhuys
On 2013-03-01 09:48, stdreamer wrote: > find attached a screen shot with firedac installed on lazarus 1.1 Just so you know, by posting that image, you now painted a bulls-eye on your head. You are now violating the Embarcadero FireDAC EULA, which forbids FireDAC to be used with any other product t

Re: [fpc-pascal] Result: string

2013-03-05 Thread Sven Barth
Am 05.03.2013 11:27, schrieb Michael Van Canneyt: On Tue, 5 Mar 2013, Howard Page-Clark wrote: On 04/03/13 10:33, José Mejuto wrote: The code that makes me wonder something is wrong is this one: --- {$mode objfpc} {$h+} procedure TheB(var aTheA: string); b

Re: [fpc-pascal] Result: string

2013-03-05 Thread Michael Van Canneyt
On Tue, 5 Mar 2013, Howard Page-Clark wrote: On 04/03/13 10:33, José Mejuto wrote: The code that makes me wonder something is wrong is this one: --- {$mode objfpc} {$h+} procedure TheB(var aTheA: string); begin aTheA:=aTheA+'A'; end; function TheA(): st

Re: [fpc-pascal] Result: string

2013-03-05 Thread Howard Page-Clark
On 04/03/13 10:33, José Mejuto wrote: The code that makes me wonder something is wrong is this one: --- {$mode objfpc} {$h+} procedure TheB(var aTheA: string); begin aTheA:=aTheA+'A'; end; function TheA(): string; begin //Result:=''; TheB(Result); en