Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ideas for passing records back to calling form
Message
De
18/09/2015 12:08:43
 
 
À
18/09/2015 11:30:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01624724
Message ID:
01624792
Vues:
79
I noticed that the debugger did not support peeking into the collection at run time - I usually like to take a look the first time I run something to see if the data looks okay. So I had to write a bit of temp code to iterate through the collection throwing each item into an object so I could take a peek. But overall, I like the concept.

Albert

>>Hi Thierry,
>>
>>Got it all working. Thanks for pointing me to the collections object. I see using this a whole lot more in the future.
>>
>>Albert
>
>Hi Albert,
>
>Thanks for the feedback!
>
>Another good news if ever you wish to use FoxInCloud some day: FoxInCloud supports modal forms returning collections. Though I share your preference for isolated, private datasession, FoxInCloud also supports forms working in other form's datasession and/or global datasession.
>
>Collections (aka 'associative arrays', enumerable, etc., etc.) are very common in 'modern' languages like php or JavaScript and, like you, I tend to like them more and more, except at debug time with VFP because you can't see anything in the 'locals' window.
>
>Otherwise, Collections allow you to encapsulate data and related custom methods in a single place.
>
>I plan to create a collection wrapper around an array to emulate the JavaScript methods .join(), .map(), .detect(), etc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform