Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To native English speakers: indefinite article question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01584678
Message ID:
01584680
Vues:
74
This message has been marked as a message which has helped to the initial question of the thread.
>Hi All,
>
>VFP describes Collection.Remove method as
>Use to remove a member object from a collection.
>
>.NET describes a similar Collection(Of T).RemoveAt method as
>Removes the element at the specified index of the Collection(Of T).
>
>Notice indefinite articles in the first case, and definite ones in the second -- e.g. "a collection" vs "the Collection".
>
>My three questions:
>- are they both correct ?
>- which one is preferable ?
>- should I bother ?
>
>Thank you!


The .NET function is RemoveAt whereas the VFP function is just .Remove. The "At" indicates an explicit position so the wording reflects that. The "Remove" function by itself indicates only the ability to remove which, based on the given information, then becomes an explicit entry to remove.

Both are correct. :-)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform