[fpc-pascal] Need help with - howto find struct field

Jan Kowalski bor400 at gmail.com
Fri Oct 10 13:48:03 CEST 2008


Hi, I try to convert string to structure field. As example:

 function getRepF(argo,argn: string): boolean;
 begin
 ...
       dataA.'argn':=argo;
 ...
 end;

argn is a string with name of structure (dataA) field. Is there any
way to do that ? somethink like FindStructField ?

Please help!

Regards
faber



More information about the fpc-pascal mailing list