On 22.11.2011 12:42, Marco van de Voort wrote:
In our previous episode, Sven Barth said:
is more work than
VarName:='counter';
So what's the point ?
The best argument for such a feature is that the name is checked by the
compiler.
If I change the declaration of the variable the compiler will
On 22.11.2011 14:42, Martin wrote:
But remember each feature has a cost. Not only what it adds to your app
(which it may well be worth), but also what it adds to the compiler: Now
and in future maintenance.
A reason why it's a low priority feature of mine. Before I implement
that I have other
>
>
>> Yes, there are many features not everybody needs. Yet they have to be
> chosen by some means (language design) and yet there will always be
> disagreement.
>
> No, do the minimum
> But remember each feature has a cost. Not only what it adds to your app
> (which it may well be worth), but a
In our previous episode, Martin said:
> And as I already wrote, why re-invent the wheel? Use published
> properties of an object, instead of variables. They have RTTI, so they
> can already do all of this.
D2010 has RTTI on much more.
___
fpc-pascal ma
On 22/11/2011 13:23, Rainer Stratmann wrote:
Am Tuesday 22 November 2011 13:50:06 schrieb John Lee:
Call me old fashioned, but to ask for this capability to save typing seems
bizarre.
There are many functions I don't need. For example am I not a friend of
dynamic allocated memory.
I have reason
On 22/11/2011 13:09, michael.vancann...@wisa.be wrote:
On Tue, 22 Nov 2011, Rainer Stratmann wrote:
Once more: the name in the debug message is totally irrelevant.
afaik debugging was not the initially mentioned purpose. Streaming to a
file was. That already exists, see last line.
I woul
Am Tuesday 22 November 2011 13:50:06 schrieb John Lee:
> Call me old fashioned, but to ask for this capability to save typing seems
> bizarre.
There are many functions I don't need. For example am I not a friend of
dynamic allocated memory.
I have reasons for not using it.
You may have reasons for
Am Tuesday 22 November 2011 14:09:42 schrieb michael.vancann...@wisa.be:
> On Tue, 22 Nov 2011, Rainer Stratmann wrote:
> The name of a variable is only used for debugging, and then you can
> just as well use the debug info. And the change of a name is usually
> done with search&repl
On Tue, 22 Nov 2011, Rainer Stratmann wrote:
The name of a variable is only used for debugging, and then you can just
as well use the debug info. And the change of a name is usually done
with search&replace, option whole word, so the text 'counter' should get
changed as well.
The name of a va
Call me old fashioned, but to ask for this capability to save typing seems
bizarre.
I'l like it, if as has been suggested it is easy to do, so that it is
easier & more error free to implement a variable save and restore
capability. I have a program in which some variables values need to be
stored
On 22 November 2011 08:18, Marco van de Voort wrote:
> In our previous episode, Frank Church said:
> > > Any ideas?
> > >
> > >
> > Any updates? I don't know if I have to subclass or derive something to
> > avoid this error. I will post some sample code for testing.
>
> Did you look into my sugge
In our previous episode, Sven Barth said:
> > is more work than
> >
> > VarName:='counter';
> >
> > So what's the point ?
>
> The best argument for such a feature is that the name is checked by the
> compiler.
> If I change the declaration of the variable the compiler will complain in
> the first
On 2011-11-22 13:02, michael.vancann...@wisa.be wrote:
>
> No, if I was to program it using varname, I would get the name of the
> parameter in the function SendInteger.
That's what I thought - and mentioned that fact.
> You need the address of the variable that was passed to SendInteger.
> Obv
Am Tuesday 22 November 2011 12:14:54 schrieb michael.vancann...@wisa.be:
> On Tue, 22 Nov 2011, Rainer Stratmann wrote:
> > Am Tuesday 22 November 2011 12:05:07 schrieb michael.vancann...@wisa.be:
> >> On Tue, 22 Nov 2011, Sven Barth wrote:
> >>> Am 22.11.2011 10:13, schrieb michael.vancann...@wisa
On Tue, 22 Nov 2011, Rainer Stratmann wrote:
Am Tuesday 22 November 2011 12:05:07 schrieb michael.vancann...@wisa.be:
On Tue, 22 Nov 2011, Sven Barth wrote:
Am 22.11.2011 10:13, schrieb michael.vancann...@wisa.be:
If we choose to implement such a function, yes. My response was based
on the
On Tue, 22 Nov 2011, Reinier Olislagers wrote:
On 22-11-2011 10:32, michael.vancanneyt-0is9kj9s...@public.gmane.org wrote:
Still don't understand what the TIBConnectionDef/TConnectionDef class is
used for?
It is uses for the TSQLConnector component.
Actually, I don't understand registerin
On Tue, 22 Nov 2011, Rainer Stratmann wrote:
Am Tuesday 22 November 2011 10:13:20 schrieb michael.vancann...@wisa.be:
On Tue, 22 Nov 2011, Sven Barth wrote:
Am 21.11.2011 14:22, schrieb michael.vancann...@wisa.be:
On Mon, 21 Nov 2011, Rainer Stratmann wrote:
Am Monday 21 November 2011 14:0
Am Tuesday 22 November 2011 12:05:07 schrieb michael.vancann...@wisa.be:
> On Tue, 22 Nov 2011, Sven Barth wrote:
> > Am 22.11.2011 10:13, schrieb michael.vancann...@wisa.be:
> If we choose to implement such a function, yes. My response was based
> on the compiler as it is.
> >>>
> >>> Se
On Tue, 22 Nov 2011, Sven Barth wrote:
Am 22.11.2011 10:13, schrieb michael.vancann...@wisa.be:
If we choose to implement such a function, yes. My response was based on
the compiler as it is.
Seems like I'm not the only one that likes to have such a function.
Though I would extend it to con
On Tue, 22 Nov 2011, Graeme Geldenhuys wrote:
On 2011-11-22 11:13, michael.vancann...@wisa.be wrote:
Typing
VarName:=nameofvar( counter );
is more work than
VarName:='counter';
So what's the point ?
Maybe there is a use for it in the dbugintf unit?
eg:
SendInteger(counter)
No, if
Am Tuesday 22 November 2011 10:13:20 schrieb michael.vancann...@wisa.be:
> On Tue, 22 Nov 2011, Sven Barth wrote:
> > Am 21.11.2011 14:22, schrieb michael.vancann...@wisa.be:
> >> On Mon, 21 Nov 2011, Rainer Stratmann wrote:
> >>> Am Monday 21 November 2011 14:08:43 schrieb michael.vancann...@wisa.
Am 22.11.2011 11:21, schrieb Graeme Geldenhuys:
So what's the point ?
Maybe there is a use for it in the dbugintf unit?
eg:
SendInteger(counter)
result on the debug server would then possibly be something like...
2011-11-22 Debug: counter = 20
The SendInteger() function will do the
On 2011-11-22 11:13, michael.vancann...@wisa.be wrote:
>
> Typing
>
> VarName:=nameofvar( counter );
>
> is more work than
>
> VarName:='counter';
>
> So what's the point ?
Maybe there is a use for it in the dbugintf unit?
eg:
SendInteger(counter)
result on the debug server would then po
Hi,
I want to install freepascal into my new Macbook, the system is: Mac OS
10.7.2
I download fpc-2.4.4.intel-macosx.dmg and install it OK, then
do svn co http://svn.freepascal.org/svn/fpc/trunk and everything is ok, then
make clean all,
I got following error message:
dglobals.pp(722,71) Error:
On 22-11-2011 10:32, michael.vancanneyt-0is9kj9s...@public.gmane.org wrote:
>> Still don't understand what the TIBConnectionDef/TConnectionDef class is
>> used for?
>
> It is uses for the TSQLConnector component.
>
>> Actually, I don't understand registering/unregistering connections.
>> SQLDB ma
Am 22.11.2011 10:13, schrieb michael.vancann...@wisa.be:
If we choose to implement such a function, yes. My response was based on
the compiler as it is.
Seems like I'm not the only one that likes to have such a function.
Though I would extend it to convert identifiers in scope to strings
(such
On Tue, 22 Nov 2011, Reinier Olislagers wrote:
On 19-11-2011 14:21, Reinier Olislagers wrote:
Hi list,
Please find attached my current version for the Interbase/Firebird
connection documentation source. If the attachment gets deleted by the
list or if you want to see the latest version, plea
> Still don't understand what the
> TIBConnectionDef/TConnectionDef class is used for? Actually,
> I don't understand registering/unregistering connections.
> SQLDB maintains a connection list with connections, but what
> happens with that/what do you use it for? Some kind of
> connection pool
On Tue, 22 Nov 2011, Sven Barth wrote:
Am 21.11.2011 14:22, schrieb michael.vancann...@wisa.be:
On Mon, 21 Nov 2011, Rainer Stratmann wrote:
Am Monday 21 November 2011 14:08:43 schrieb michael.vancann...@wisa.be:
On Mon, 21 Nov 2011, Rainer Stratmann wrote:
Is it possible to get informa
Am 21.11.2011 14:22, schrieb michael.vancann...@wisa.be:
On Mon, 21 Nov 2011, Rainer Stratmann wrote:
Am Monday 21 November 2011 14:08:43 schrieb michael.vancann...@wisa.be:
On Mon, 21 Nov 2011, Rainer Stratmann wrote:
Is it possible to get information of the name of a var?
For Example.
v
In our previous episode, Frank Church said:
> > Any ideas?
> >
> >
> Any updates? I don't know if I have to subclass or derive something to
> avoid this error. I will post some sample code for testing.
Did you look into my suggestion on the forum to try to add a binding to the
bindings property ?
31 matches
Mail list logo