Am 02.02.2011 15:40, schrieb Anthony Walter:
By the way, does Free Pascal generic support generic constraints yet?
Also, this format seems more natural to me:
They aren't implemented currently, but I hope they will at some time.
TCollection = class
property Count: Integer;
property Ite
Have you used List, Dictionary, or IEnumerable in C# much? How
about EventHandler? They are pretty useful.
Even in Delphi, TList, TObjectList, and TCompare are more than
handy IMO. No longer do I have to write "TMyObject(FList[I])" all over the
place. When using "if FList.IndexOf(Pointer(FInstance
On Wed, 2 Feb 2011, Anthony Walter wrote:
By the way, does Free Pascal generic support generic constraints yet? Also,
this format seems more natural to me:
No, it does not.
Michael.
TCollection = class
property Count: Integer;
property Items[Index: Integer]: T;
end;
TStatusPanels = c
By the way, does Free Pascal generic support generic constraints yet? Also,
this format seems more natural to me:
TCollection = class
property Count: Integer;
property Items[Index: Integer]: T;
end;
TStatusPanels = class(TCollection);
rather than ...
generic TCollection = class // no constr
On Wed, 2 Feb 2011, Anthony Walter wrote:
Yeah, I just added the code highlighter, which build the highlights using
javascript. I set to "display: none" while the page loads which isn't
effecting the print version. The workaround is that you can print the code
blocks by clicking the print icon
Just an update ... I fixed the print feature at the bottom.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Yeah, I just added the code highlighter, which build the highlights using
javascript. I set to "display: none" while the page loads which isn't
effecting the print version. The workaround is that you can print the code
blocks by clicking the print icon in each code section. I'll fix it later.
Rega