Delphi Programming Tutorial #79 - Record Helpers For Primitive Types

preview_player
Показать описание

Alister Christie is a Delphi MVP (Most Valued Professional), Consultant, Developer, Trainer, Presenter, and Author. He has presented at ADUG (Australasian Delphi Users Group) Symposia and Code Rage Conferences for many years. Alister holds a degree in Mathematics and Computer Science from Victoria University, Wellington. He lives near Wellington, New Zealand.

On this YouTube Channel, Alister has created many hours of video tutorials to help you learn Delphi Programming in efficient and effective ways. Using his lessons, you will programme faster and better, skills applicable for beginners through to experts wanting to expand their programming and coding proficiency.

Video topics by Alister Christie include VCL (Visual Component Library), FireMonkey, FireDAC, Cross-platform, Android, iOS (iPad or iPhone Operating System), Mac OS/X, Windows, IoT (Internet of Things), Algorithms, and more.

Рекомендации по теме
Комментарии
Автор

In Delphi XE 5 it seems fixed and added for integer, shortint etc also.
Also i tried it for my own type (record), made a helper for it and it works also Ok.

tmyrec=record

sugu:boolean;
end;

myrechelper=record helper for tmyrec

function tostring: string;
end;

function myrechelper.tostring: string;
begin
result := booltostr(self.sugu);
end;


 Nice stuff

 Dunno about most recent releases. I have free starter edition in my other computer.

jw