mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-05 11:38:16 +02:00
added license and note to example lpicustomdata
git-svn-id: trunk@11489 -
This commit is contained in:
parent
b5e720249c
commit
6a1d7613b8
@ -1,3 +1,31 @@
|
||||
{ Copyright (C) 2007 Mattias Gaertner
|
||||
|
||||
*****************************************************************************
|
||||
* *
|
||||
* See the file COPYING.modifiedLGPL, included in this distribution, *
|
||||
* for details about the copyright. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
||||
* *
|
||||
*****************************************************************************
|
||||
|
||||
Abstract:
|
||||
This example shows how to read the custom data of an .lpi file and
|
||||
how to change it. The .lpi file is given as first command line parameter.
|
||||
|
||||
For example:
|
||||
./lpicustomdata lpicustomdata.lpi
|
||||
|
||||
This will show the old custom data, change a value and save it.
|
||||
If there was no custom data in the .lpi file, there will be no output.
|
||||
|
||||
Important:
|
||||
The IDE does not read the .lpi file if it changed on disk.
|
||||
If you add custom data, make sure the IDE has not this project open.
|
||||
|
||||
}
|
||||
program LPICustomData;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
Loading…
Reference in New Issue
Block a user