Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: Long Class Designer Name error
Message
From
11/05/2003 12:02:39
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
BUG: Long Class Designer Name error
Miscellaneous
Thread ID:
00787144
Message ID:
00787144
Views:
39
Example:

Write this:

_SCREEN.Name=REPLICATE('A',254)
* PROPERTIES window report 'AAA...AAA'
? LEN(_SCREEN.Name) && why 254 ?
SCREEN.Name=REPLICATE('A',255)
* PROPERTIES window report 'AAA...AAA'
? LEN(_SCREEN.Name) && cut to 254 and no errors
..256-263 idem
SCREEN.Name=REPLICATE('A',264)
* PROPERTIES window report 'AAA...AAA'
? LEN(_SCREEN.Name) && cut to 254 and no errors

SCREEN.Name=REPLICATE('A',265)
* PROPERTIES window report none !
? LEN(_SCREEN.Name) && cut to 254 and no errors
* if you go on PROPERTIES window Name row and enter, it fire an error

This occur also on Class Designer (use ASELOBJ).

Writing direct on PROPERTIES window, you can write 255 chars, bat it is cut to 254.

my analysis:
on VFP internal C code it is written 264 instead of 254, but in an other part it is written sure 254.

Then, VFP Team don't uses C .h files like programming style,
or write bad .h file ( duplex costant for identical semantic data ).

We are not surprised ourselves if there are bug inexplicable.

Fabio
Reply
Map
View

Click here to load this message in the networking platform