Posted by hannesbez on May 23, 2008
Will appreciate advise on this:procedure MySort(Ext : string);
Ext may be, for example, 'Name' or 'Surname'. I then want to use Ext to build for example
MyArray[j].Name if the paramer Ext equals 'Name'.
I suspect one must use format to do do so, something like
format('MyArray[j].%s', [Ext]) but this turns the whole thing into a string!
Related articles
Follow Ups