Add support of interface-variable to Assigned function

Assign function was compatible with classe, PChar and string but not compatible with interface.