It might be useful to know that I rebased my trunk to a new project,
systeminfo4android which is a simple program that I wrote to help me
at work. It calculates the reported screen diameter in inches, as well
as all data from DisplayMetrics.
I documented this here: http://wiki.lazarus.freepascal.o
Marco van de Voort wrote:
In our previous episode, Mark Morgan Lloyd said:
Is there an equivalent to "is" for class references?
yes. classref.inheritsfrom(TClassType)
Thanks, works like a charm :-)
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, no
In our previous episode, Mark Morgan Lloyd said:
> Is there an equivalent to "is" for class references?
yes. classref.inheritsfrom(TClassType)
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-p
Is there an equivalent to "is" for class references?
typeCNodeContent= class of TNodeContent;
procedure walkContent(node: CNodeContent);
begin
Write(PadRight(OidToStr(node.GetOid), 32));
if node is TScalar then
Write(' s');
Compilation fails at that point:
test2.pas(46,
On Fri, 8 Apr 2011, Zaher Dirkey wrote:
2011/4/7 Flávio Etrusco
On Wed, Apr 6, 2011 at 1:37 PM, Zaher Dirkey wrote:
Can i do that?
type
IIntf3 = interface(IIntf11, IIntf2)
end;
Thanks in advance.
--
Zaher Dirkey
For Corba interfaces, yes. Not for COM interfaces.
http://www.fr
2011/4/7 Flávio Etrusco
> On Wed, Apr 6, 2011 at 1:37 PM, Zaher Dirkey wrote:
> > Can i do that?
> > type
> > IIntf3 = interface(IIntf11, IIntf2)
> >
> > end;
> >
> > Thanks in advance.
> > --
> > Zaher Dirkey
> >
>
> For Corba interfaces, yes. Not for COM interfaces.
> http://www.freep