Vincent Snijders ha scritto:
Mattias Gärtner schreef:
Zitat von Michael Van Canneyt <[EMAIL PROTECTED]>:
On Wed, 19 Sep 2007, Vincent Snijders wrote:
A call for opinion on
http://www.freepascal.org/mantis/bug_view_advanced_page.php?bug_id=9605
A *.lpr file opens with
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Interfaces, // this includes the LCL widgetset
Forms,
{ add your units here }
This suggests that you should add unit names manually here. This is
difficult
at best because the syntax must be exact, forms must be included, etc.
At worst, doing this probably leads to errors because the *.lpi file
is not modified accordingly.
Suggestions
1) Remove it completely
This is the best. It avoids confusion. As long as the user is allowed to
change it if he needs it...
Newbies tend to add their units at start, which should be avoided.
Maybe the comment should be replaced with 'add your units behind here'?
Better wording IMHO would be: 'add your units after this'.
One vote for removing, one vote for an attempt at clearer wording and
one vote for ??? (what did you propose Graeme?).
Is there a consensus?
I'd suggest just 'Application units', or 'User units'.
Then it's up to the user to decide whether to add them there, or let the
project "Add Unit" do it for him.
'Add your units' appears an order to do it (if you don't it won't work),
while a descriptive phrase just tell that this is the place for
application units. How they go there depends on other things, too long
to explain in that place.
Giuliano
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives