Weird :( In the Index I type "limi", nothing pops up. In VFP8 I type "limi" and see
limitations
Index
system capacities
Anyway, I used Search by "limitations" and found the topic.
>It's in the same place in VFP9 help.
>
>>In VFP8 Help I have limitations (index file, system capacities), where I can get all the current system limits. For instance, I see, that macro limit is 8192 characters.
>>
>>In VFP9 Help I can not find this information. Do you know, if there is limit on macro in VFP9?
>>
>>I have this piece of code:
>>
>>
>>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 &luTemp
>>
>>I 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?
>>
>>Thanks in advance.
If it's not broken, fix it until it is.
My Blog