![]() |
Delphi-Version: XE6
Enum type and helper function?
I have enum type:
Delphi-Quellcode:
type
TCpuArch = (IntelX86, IntelX64); and I want to TCpuArch.ToString method for it. How can I add it to enum? |
AW: Enum type and helper function?
This way (starting with XE3):
Delphi-Quellcode:
TCpuArchHelper = record helper for TCpuArch
function ToString: string; end; |
Re: Enum type and helper function?
I thought this can be added inside type. Ok, thanks! :)
|
AW: Enum type and helper function?
Juhu. Und für sets gehts auch :-D
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:09 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz