KaysI think it should look like
resourceString
foo = 'test';
...
writeln(foo);
writeln(GetResourceStringDefaultValue(foo));
No additional const, no TableIndex, no StringIndex
PascalDragonThat is, no already written structures with a quick search will not be used here((
Maybe I can change the TResourceIterator signature, and build a dictionary at a higher level, for example in lazutils.Translations?