Mensaje
De
06/04/2017 07:18:05
 
 
a
06/04/2017 06:33:10
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
General information
Foro:
Visual FoxPro
Category:
Miscellaneous
ID de la conversación:
01649799
ID del mensaje:
01649858
Views:
46
>>I am not a fan of collections and I don't use them. Arrays and custom (and mostly "Empty") object does good for me in most cases.
>
>I use collections a lot, but for small things, order of magnitude of a couple hundred elements max. They do help in cases where the search key is a string, and aScan() would match a shorter search string in a longer one, i.e. if a[4]="abc" and a[92]="ab", ascan(a, "ab") returns 4, not 92. Not so with collections, or at least I don't have to pad the key strings.
>


That depends on Set('Exact')

In addition, there are flags you can pass to ascan()
Gregory
Previous
Next
Responder
Mapa
Ver