This function is provided for compatibility with earlier versions of Delphi which did not support methods on a record type. Use this function if you want your code to support older as well as newer versions of Delphi.