Am 29.10.2013 20:32, schrieb waldo kitty:
On 10/29/2013 1:56 PM, Sven Barth wrote:
Am 29.10.2013 18:21 schrieb waldo kitty wkitt...@windstream.net:
example: procedure MyObject.MyRoutine;
procedure MyObject.MyRoutine(VarA : SomeType);
procedure MyObject.MyRoutine(VarA
Am 29.10.2013 19:35, schrieb Mark Morgan Lloyd:
waldo kitty wrote:
question: in simple language, how can i have a routine with differing
parameters like some routines in FPC and Lazarus do? i've never
attempted this before and it is completely alien to my experience but
i do use the
Am 29.10.2013 20:40, schrieb waldo kitty:
FWIW: i decided to try this because i was unable to (hope i'm using
the proper terms here) derive a new object from the existing one and
override this one inherited routine with my modifications... this
would allow me to add my own variables to the
Am 30.10.2013 02:06, schrieb waldo kitty:
Assume that this is for value parameters only. In particular, I don't
think
there's a way of defaulting a var parameter to a nil pointer.
hummm... the original has no parameters at all... my addition has
two... will this be a problem? no, i've not
question: in simple language, how can i have a routine with differing parameters
like some routines in FPC and Lazarus do? i've never attempted this before and
it is completely alien to my experience but i do use the functionality quite a
lot with existing routines...
description: i have a
Am 29.10.2013 18:21 schrieb waldo kitty wkitt...@windstream.net:
question: in simple language, how can i have a routine with differing
parameters like some routines in FPC and Lazarus do? i've never attempted
this before and it is completely alien to my experience but i do use the
functionality
waldo kitty wrote:
question: in simple language, how can i have a routine with differing
parameters like some routines in FPC and Lazarus do? i've never
attempted this before and it is completely alien to my experience but i
do use the functionality quite a lot with existing routines...
On 10/29/2013 1:56 PM, Sven Barth wrote:
Am 29.10.2013 18:21 schrieb waldo kitty wkitt...@windstream.net:
example: procedure MyObject.MyRoutine;
procedure MyObject.MyRoutine(VarA : SomeType);
procedure MyObject.MyRoutine(VarA : string; VarB: integer);
at one point,
On 10/29/2013 2:35 PM, Mark Morgan Lloyd wrote:
waldo kitty wrote:
example: procedure MyObject.MyRoutine;
procedure MyObject.MyRoutine(VarA : SomeType);
procedure MyObject.MyRoutine(VarA : string; VarB: integer);
at one point, the first instance would be used... at another
waldo kitty wrote:
Another
useful variant is giving *the* *last* parameter an optional value,
which will
allow you to omit the parameter:
procedure MyObject.MyRoutine(const VarA : string; VarB: integer= -1);
very interesting... will this work with both parameters, too? i don't
think i
On 10/29/2013 6:53 PM, Mark Morgan Lloyd wrote:
waldo kitty wrote:
Another
useful variant is giving *the* *last* parameter an optional value, which will
allow you to omit the parameter:
procedure MyObject.MyRoutine(const VarA : string; VarB: integer= -1);
very interesting... will this work
11 matches
Mail list logo