Thanks a lot for clarification.
Dennis
Sven Barth wrote:
On 04.10.2013 14:48, Dennis Poon wrote:
>You can use either FillChar as you did or use "Self :=
Default(TTest);" (default is a compiler intrinsics that returns a 0
value of the type >you passed in, e.g. Nil for classes, '' for strings,
On Fri, October 4, 2013 20:15, Lubomír Čabla wrote:
> OK, how do I know that this is corrected?
By checking the date and time of the generated source ZIP file on FTP or
just trying? Normally, it should be there the next day after committing
the fixes to SVN. If I remember correctly, the ZIP files
On 04.10.2013 22:14, stdreamer wrote:
On 04/10/2013 10:44 μμ, Sven Barth wrote:
On 04.10.2013 21:15, stdreamer wrote:
On 04/10/2013 9:08 μμ, Sven Barth wrote:
The main difference is that cwstring uses the Widestring manager of the
system's C library while fpwidestring is a full Pascal Widestr
On 04/10/2013 10:44 μμ, Sven Barth wrote:
On 04.10.2013 21:15, stdreamer wrote:
On 04/10/2013 9:08 μμ, Sven Barth wrote:
The main difference is that cwstring uses the Widestring manager of the
system's C library while fpwidestring is a full Pascal Widestring
manager.
So by using cwstring in
On 04.10.2013 21:15, stdreamer wrote:
On 04/10/2013 9:08 μμ, Sven Barth wrote:
The main difference is that cwstring uses the Widestring manager of the
system's C library while fpwidestring is a full Pascal Widestring
manager.
So by using cwstring instead of fpwidestring am I safe to assume t
On 04/10/2013 9:08 μμ, Sven Barth wrote:
The main difference is that cwstring uses the Widestring manager of the
system's C library while fpwidestring is a full Pascal Widestring manager.
So by using cwstring instead of fpwidestring am I safe to assume that
the widestrings used and returned
OK, how do I know that this is corrected?
Or I will try next time.
On Wed, Oct 2, 2013 at 2:25 AM, Tomas Hajny wrote:
> On 30 Sep 13, at 17:47, LubomĂr ÄŚabla wrote:
>
> > Attempt to compile IDE:
> >
> > OS Windows XP 32 CZ
> > FPC GO32V2 2.6.2 is installed in z:\pp
> > PATH contains Z:\pp\bi
On 04.10.2013 18:13, ko paka wrote:
Hello,
Are there some practical differences which one to use on linux ?
When I will use only fpwidestring, then when use functions
CompareUnicodeString / CompareWideString and current_Collation is nil,
then routine is recalled on OldManager, where those functi
On 04.10.2013 14:48, Dennis Poon wrote:
>You can use either FillChar as you did or use "Self :=
Default(TTest);" (default is a compiler intrinsics that returns a 0
value of the type >you passed in, e.g. Nil for classes, '' for strings,
0 for ordinals and for records all fields are set to 0)
H
Hello,
Are there some practical differences which one to use on linux ?
When I will use only fpwidestring, then when use functions
CompareUnicodeString / CompareWideString and current_Collation is nil, then
routine is recalled on OldManager, where those functions are not
implemented. Because of th
On 04/10/2013 15:43, Marco van de Voort wrote:
> In our previous episode, Reinier Olislagers said:
>> 'BookDate': TDateTime(Buffer^) :=
>> FTransactionList[FCurrentRecord].BookDate;
>> 'Amount': Currency(Buffer^) := FTransactionList[FCurrentRecord].Amount;
> Maybe I miss some weird FPC abi
On 04 Oct 2013, at 15:43, Marco van de Voort wrote:
In surprise that it compiles. If buffer is an (untyped) pointer,
buffer^ is
a byte afaik
No, it's "untyped" (void). Just like an untyped var/out parameter,
which you can also cast to anything and assign things to.
(just sizeof() it).
In our previous episode, Reinier Olislagers said:
> missing something.
>
> The relevant code:
> function TTransactionDataset.GetFieldData(Field: TField; Buffer:
> Pointer): boolean;
> ...
> Result := true;
> case Field.FieldName of
> 'HashID': StrPLCopy(Buffer, FTransactionList[FCurrentRec
Hi all,
I'm writing a custom dataset that represents a list of bank
transactions: [1]
When showing a currency field (the Amount field in the transaction
object in the code), I get NaN.
Likewise, I get invalid results from a date field (Bookdate in the
transaction object)
AFAIU, I can just store t
>You can use either FillChar as you did or use "Self :=
Default(TTest);" (default is a compiler intrinsics that returns a 0
value of the type >you passed in, e.g. Nil for classes, '' for strings,
0 for ordinals and for records all fields are set to 0)
How can I make it so that I only do the
15 matches
Mail list logo