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:
>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" >>