Mike Yearwood
Toronto, Ontario, Canada
Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
>>>>hi,
>>>>
>>>>Sorry hit the enter button too early.
>>>>
>>>>I have a long running code.
>>>>
>>>>It has to process about 1056 items and does a select SQL into array number of records in array (600)
>>>>
>>>>Then the array is copied into 2 arrays and used with other variables.
>>>>The Array is fed to a fll and the return values are updated to the table.
>>>
>>>Are you certain that is the only way to do your task? I avoid using arrays as a general rule. The resulting code is often too ugly to read/debug/maintain. You can update a cursor very quickly. Using a single replace on multiple fields instead of individual replaces on individual fields can do wonders. What are you trying to do and what code did you use?
>>
>> need to feed the array to the fll i wrote. Otherwise I too hate arrays. Need to like with it for now.
>>
>>suhashegde
>
>What does the fll do? FoxPro can do things fast enough without FLLs. IMO very few FoxPro programmers create FLLs on a regular basis.
the fll generates Values based on the array values. I did it in VFp first and it took 3 sec while Fll takes .01 secs for the same.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement