[lazarus] Saving and loading units and project doubts
Curtis White
cwhite at aracnet.com
Tue Feb 27 22:15:11 EST 2001
SVAA wrote:
>
> Hello:
>
> I'm working on saving and loading units and projects, and I've got some
> doubts:
> a) Files should always be saved in lowercase to avoid Unices troubles ¿isn't
> it?
I don't think that lowercase is a requirement for the Unices. Unix/Linux
can handle most any filename that Windows can. Since a lot of work is
done from the command line in the Unices, it is typically frowned on to
use spaces and uppercase letters because they are hard to type. To use
spaces in filenames, you have to enclose the name in quotes. I don't
think it would be a good idea to restrict the users strictly to
lowercase filenames or filenames without spaces. These things should be
allowed and then leave it up to the developer to determine if he wants
to make all Unix users mad or not :-)
> b) What is 'aliases' property of Tproject for?
This was designed to hold the unit aliases like those in Delphi. In
other words, if you have a unit called "linux" and it is later renamed
to "linapi", then you could put in an alias of "linux=linapi" so the IDE
can substitute linapi whenever it sees linux in the uses clause. The
aliases would likely be separated by semi-colons (;), or something
similar, as they are in Delphi.
> c) What is TargetFileExt property for?
This was meant to be the same as in Delphi. Basically, it is the file
extension to be used for the target executable file.
Curtis
More information about the Lazarus
mailing list