Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET REPROCESS TO
Message
From
28/12/1998 15:45:37
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
27/12/1998 18:22:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00169741
Message ID:
00170924
Views:
31
>>>I've seen you do a search in memo fields before that seemed to turn the normal rules inside out to get both speed and accuracy, so I know you will appreciate giving up to get more speed.
>>
>>Ummm... which one do you mean? The only thing I remember I was doing a memo search on is when I was extracting keywords into an additional table.
>
>I had to dig to find this one, and it turns out that it was an answer to me. In message 91386 on 1998/04/12 you were telling me to replace ALL instances of a string in a memo field (in a VCX file) by using an array to look for the posisions of all the occurences of the string, and then replace them LAST TO FIRST, so their positions don't move. I thought that was a great idea. Going BACKWARDS gave me the accuracy that I needed.

Oh, that. You have better memory than me :). When I read "memo search" I understood "search the memos in a table", not "search within one memo".

Actually, this thing helped me understand the trick when releasing forms - if you release forms from 1 to n in _screen.Forms[] array, you've actually cut the leg you're standing on. Just the same with that string example - if you replace the first occurrence with something else, all the other occurrences move and you have to search again. I do admit it took me some time to make it :)

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform