I have
MyClass = class(…
private
FCD_COMPONENT :TWideStringField;
…
published
property CD_COMPONENT :TWideStringField read FCD_COMPONENT write FCD_COMPONENT;
I want to use this property inside the Script, but when I do this…
FScript.AddRegisteredPTRVariable('CD_COMPONENT' , 'TWideStringField');
I receive a EPSCompilerException : Invalid type for variable CD_COMPONENT.
How should I register the properties of a class for his use inside the script?