On Tue, Oct 7, 2014 at 3:58 PM, JB wrote:
> I usually use integer cast to boolean values, sample:
>
[...]
But the main ideia to change it is allow any type supported by SysUtils,
like integer (-1/0 or 0/1), strings (true/false, yes/no, y/n, sim/não or
other) etc.
My patch keeps the current beha
I usually use integer cast to boolean values, sample:
var
cond: boolean;
i: integer;
begin
cond := true;
writeln(inttostr(integer(cond)));
i := 0;
if boolean(i) then
writeln('true')
else
writeln('false');
end;
best regards
José Benedito
JBS Soluções
Consulting Systems
On Sat, Oct 4, 2014 at 6:28 AM, Reinier Olislagers <
reinierolislag...@gmail.com> wrote:
> On 03/10/2014 21:16, silvioprog wrote:
> > When I use the TIniFile to save my configurations, it saves the boolean
> > values as 0 and 1.
> >
> > Is there any way to save these values as string (true/false
Hi Michael,
On 07/10/2014 12:12, Michael Schnell wrote:
> Please don't use such excessive multi-line "declaimers" in a forum.
I did notice those (and don't like it either), but unfortunately nothing
I can do about it. It is my work address and our mail server injects
those "disclaimers" _after_ w
On 10/06/2014 05:12 PM, Graeme Geldenhuys wrote:
...
Please don't use such excessive multi-line "declaimers" in a forum.
-Michael
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Am 07.10.2014 09:55 schrieb "Michael Van Canneyt" :
>
>
>
> On Mon, 6 Oct 2014, Sven Barth wrote:
>
>>
>> Am 06.10.2014 17:45 schrieb "Graeme Geldenhuys" :
>> >
>> >
>> >
>> > On 06/10/2014 16:36, Sven Barth wrote:
>> > > That's the case since Windows Vista. Maybe you have disabled UAC
>> >
>> > In
On Mon, 6 Oct 2014, Sven Barth wrote:
Am 06.10.2014 17:45 schrieb "Graeme Geldenhuys" :
>
>
>
> On 06/10/2014 16:36, Sven Barth wrote:
> > That's the case since Windows Vista. Maybe you have disabled UAC
>
> Interesting, thanks for mentioning that. I know I've disabled UAC on my
> work laptop
On 10/06/2014 05:55 PM, Dennis Poon wrote:
function TThreadList.LockList: TList;
begin
Result:=FList;
System.EnterCriticalSection(FLock);
end;
Yep.
System.EnterCriticalSection is a procedure variable that is set
according to the OS and arch the project is compiled for.
In Linu
For anyone interested, a stable version 7.4 of mpcalc (unit for
multiple-precision floating-point computations) is now available:
ftp://ftp.freepascal.org/pub/fpc/contrib/mpcalc-7.4.zip
or http://www.polarhome.com/~franco/mpcalc-7.4.zip
Changes have been made to double factorial, ceil and floor