Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TMyClass = class(TComponent)
- private
- const ErrStrs: array[TErrEnum] of string
- = ('', //erOK
- 'Invalid user name or password', //erInvUserPass
- 'Trial Period has Expired'); //erTrialExp
- protected
- ...
- public
- ...
- end;
- TMyArray = array[TErrEnum] of string;
- TMyClass = class(TComponent)
- private
- const ErrStrs: TMyArray
- = ('', //erOK
- 'Invalid user name or password', //erInvUserPass
- 'Trial Period has Expired'); //erTrialExp
- protected
- ...
- public
- ...
- end;
Add Comment
Please, Sign In to add comment