Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crash Bug: ASCAN a memo with insensitive flag
Message
 
 
To
24/05/2004 06:06:50
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00906434
Message ID:
00906472
Views:
16
Hi Fabio,

It's a bug and I can repro it in both cases:

Steps to Reproduce:

1. Run following code
LOCAL ARRAY aSearch[1]
aSearch = ""
CREATE CURSOR myCursor (sMemo M)
APPEND BLANK	
GO BOTT
=ASCAN(aSearch,sMemo,1,0,0,1)	
2. Run following code and click on VFP desktop.
LOCAL ARRAY aSearch[1]
aSearch = ""
CREATE CURSOR myCursor (sMemo M)
APPEND BLANK	&& this is not necessary
=ASCAN(aSearch,sMemo,1,0,0,1)	
Observed Behavior:

VFP crashes in both cases

Expected Behavior:

No crash


>Run this code one or two times, and VFP go into a Crash exception.
>
>
>LOCAL ARRAY aSearch[1]
>
>aSearch = ""
>
>CREATE CURSOR myCursor (sMemo M)
>*APPEND BLANK	&& this is not necessary
>
>=ASCAN(aSearch,sMemo,1,0,0,1)	&& <== use Case Insensitive flag and a Memo string
>
>WAIT WINDOW "If the crash not occur, click on screen area"
>
>
>Fabio
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform