What operator do I overload when assigning an “Enhanced Record” to a normal “Data Type” variable?

Okay, I've answered this myself... and it was what I would call "blindingly obvious.

Okay, I've answered this myself... and it was what I would call "blindingly obvious". Here's the solution (for the benefit of others) TLKString = record Value: String; // Some methods here to operate on and build String values class operator Implicit(const AValue: String): TLKString; overload; // handles String to TLKString assignment class operator Implicit(const AValue: TLKString): String; overload; // handles TLKString to String assignment! THIS IS THE ANSWER!End.

Please accept your own answer. 1. It's the good one 2.It won't appear as needing one anymore :) – François Dec 9 at 18:58 It won't let me mark it answered for another day!

Some Stack Overflow limitation – LaKraven Dec 9 at 20:29.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions