We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error detection:
uses flcDataStructs; var fD : TStringDictionary; fStr: string; begin fD := TStringDictionary.Create; fD['1234'] := '567'; fStr := fD.AsString; // raised exception "Method TStringDictionary.GetItemStrByIndex not implemented"
Solution:
Solution: It should be in the protected section of class AStringDictionary add overridden method:
type AStringDictionary = class(ADictionary) protected ... function GetItemStrByIndex(const Idx: Integer): String; override; // Added
with the implementation:
function AStringDictionary.GetItemStrByIndex(const Idx: Integer): String; begin Result := GetItemByIndex(Idx); end;
Regards, Malinovsky Vladimir.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Error detection:
Solution:
Solution:
It should be in the protected section of class AStringDictionary add overridden method:
with the implementation:
The text was updated successfully, but these errors were encountered: