luTemp = this.cOldClasslib *-- There is a bug in VFP that prevents a SET() function from *-- returning more than 254 characters. There have been *-- situations where this caused problems when trying to restore *-- the setting of SET CLASSLIB. For safety's sake, I do not *-- restore SET CLASSLIB if this.cOldClasslib > 200 characters. IF LEN(luTemp) > 200 luTemp = '' ENDIF SET CLASSLIB TO &luTempI want to re-code it accordingly to new VFP limitations. I guess, I have to use case statements for VFP8 and VFP9. How should I code this?