b5500centralcontrol.pas(119,18) Error: Incompatible types: got
"ShortInt" expected "ByteBool"
>>
>> b5500centralcontrol.pas(119,18) Error: Incompatible types: got
>> "ShortInt" expected "ByteBool"
>
> You need to cast nevertheless. It's just that they can be used in
> place of e.g. BOOL parameter
(Sending again: the mailserver bounced it the first time.)
On 1/3/14, Jürgen Hestermann wrote:
> It seems it can be made still easier by right-clicking on the message
> in the message window and by selecting "Hide message via directive".
> Then a {%H-} is appended to the variable that caused the
Am 03.01.2014 13:23 schrieb "Jürgen Hestermann" :
>
> Am 2014-01-03 12:07, schrieb Sven Barth:
> > Maybe one should also mention that this can be done in code as well for
specific locations:
> > === code begin ===
> > {$push}
> > {$warn 5058 off}
> > // whatever
> > {$pop}
> > === code end ===
>
>
Ok, it looks like that things are working again. Please tell me if
something does not work anymore.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Hi,
I plan to migrate the mailing lists to a another server within the next
hours/days. This might cause some down time. I hope no data gets lost :)
Florian
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/
On 2014-01-03 09:46, Sven Barth wrote:
> This way if the hints are switched off before that code is reached they
> will stay off afterwards instead of being switched on.
Interesting, thanks for the tip.
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
ht
On Fri, 3 Jan 2014, Dennis Poon wrote:
Michael Van Canneyt wrote:
On Thu, 5 Dec 2013, Dennis Poon wrote:
I tried to read the mac address in the captioned file path.
In terminal, I can simply 'cat' and display the mac address.
In FPC, when I tried to use TFileStream to read it,
FS :=
Am 2014-01-03 12:07, schrieb Sven Barth:
> Maybe one should also mention that this can be done in code as well for
specific locations:
> === code begin ===
> {$push}
> {$warn 5058 off}
> // whatever
> {$pop}
> === code end ===
It seems it can be made still easier by right-clicking on the messag
Am 03.01.2014 11:06 schrieb "Pierre Free Pascal" :
>
> > // prevents the compiler hint about not initialized variables
> > procedure dcpFillChar(out x; count: SizeInt; Value: Byte);
> > begin
> > {$HINTS OFF}
> > FillChar(x, count, value);
> > {$HINTS ON}
> > end;
> >
> >
> > begin
> >
> >
> // prevents the compiler hint about not initialized variables
> procedure dcpFillChar(out x; count: SizeInt; Value: Byte);
> begin
> {$HINTS OFF}
> FillChar(x, count, value);
> {$HINTS ON}
> end;
>
>
> begin
>
> dcpFillchar(dirinfo,sizeof(dirinfo),$00);
> FindFirst(pattern,AnyFile,dir
Am 03.01.2014 10:34 schrieb "Graeme Geldenhuys" :
>
> On 2014-01-02 19:21, waldo kitty wrote:
> >
> > we do not want to turn off hints so how can we initialize dirinfo and
make fpc
> > happy?
>
>
> I hate such hints too! This is what I did in my code to prevent that
> unwanted hint.
>
> One part is
Am 03.01.2014 08:36 schrieb "Mark Morgan Lloyd" <
markmll.fpc-pas...@telemetry.co.uk>:
>
> Sven Barth wrote:
>>
>> On 02.01.2014 22:27, Mark Morgan Lloyd wrote:
>>>
>>> Sven Barth wrote:
=== code begin ===
var
dirinfo: SearchRec;
begin
dirinfo := Default(Searc
Am 03.01.2014 09:59 schrieb "Mark Morgan Lloyd" <
markmll.fpc-pas...@telemetry.co.uk>:
>
> What is assignment-compatible with a bytebool etc.?
True, False and a Boolean variable of any other of the Boolean types.
>
> My reading of the manual suggested that it should be possible to assign
numeric
On 2014-01-02 19:21, waldo kitty wrote:
>
> we do not want to turn off hints so how can we initialize dirinfo and make
> fpc
> happy?
I hate such hints too! This is what I did in my code to prevent that
unwanted hint.
One part is the usage of an out parameter, and the second part is the
{$HIN
What is assignment-compatible with a bytebool etc.?
My reading of the manual suggested that it should be possible to assign
numeric zero or non-zero, but
fPB1L: bytebool;
..
fPB1L := 0;
b5500centralcontrol.pas(119,18) Error: Incompatible types: got
"ShortInt" expected "ByteBool"
--
Mark Mo
15 matches
Mail list logo