Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
To native English speakers: indefinite article question
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01584678
Message ID:
01584680
Views:
76
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. :-)
Previous
Reply
Map
View

Click here to load this message in the networking platform