Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array Sort Challenge...
Message
De
15/05/1999 11:51:55
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
15/05/1999 00:14:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00218459
Message ID:
00219338
Vues:
26
>Nope, only once. The rest of time would have been spent on the next problem. :)) Which is: how to sort and array based on a combination of rows, instead of columns. :) Now, give me the solution with the cursor! :))

Simple: transpose, sort, transpose back :).

You know the teapot principle? The question goes "you got a teapot, a stove, electricity, water, sugar, spoon, tea. Make tea", and the answer is "pour the water into the teapot, put on the stove, heat it until it boils, add tea, keep a while, remove the tea and add sugar". "Fine, now for another one: everything the same as before, just the water is already boiling" - "remove water and proceed as in the last one which we solved already".

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform