Skip to content

Commit 674f2be

Browse files
author
delphidabbler
committed
Add header comments to every .ini file
1 parent a892abf commit 674f2be

23 files changed

+184
-23
lines changed

csdb/collection/arrays.ini

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
[ArrayToStringList]
1+
# DelphiDabbler Code Snippets Database v2
2+
#
3+
# Arrays category file
4+
#
5+
# This file is licensed under the MIT license, copyright © 2020 Peter Johnson,
6+
# https://gravatar.com/delphidabbler
7+
8+
[ArrayToStringList]
29
DescEx="<p>Copies the elements of string array <var>Strings</var> to string list <var>SL</var>, replacing any existing contents of <var>SL</var>.</p>"
310
SeeAlso=StringListToArray
411
Units=Classes

csdb/collection/categories.ini

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
[arrays]
1+
# DelphiDabbler Code Snippets Database v2
2+
#
3+
# Master categories file
4+
#
5+
# This file is licensed under the MIT license, copyright © 2020 Peter Johnson,
6+
# https://gravatar.com/delphidabbler
7+
8+
[arrays]
29
Desc=Arrays
310
Ini=arrays.ini
411

csdb/collection/consts.ini

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
[SHIL_Enum]
1+
# DelphiDabbler Code Snippets Database v2
2+
#
3+
# Constants category file
4+
#
5+
# This file is licensed under the MIT license, copyright © 2020 Peter Johnson,
6+
# https://gravatar.com/delphidabbler
7+
8+
[SHIL_Enum]
29
Kind=const
310
DisplayName=SHIL_* Constants
411
DescEx="Constants that can be passed as flags to specify the required image type in calls to the <var>SysImageListHandleEx</var> routine."

csdb/collection/date.ini

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
[AddDays]
1+
# DelphiDabbler Code Snippets Database v2
2+
#
3+
# Date and Time category file
4+
#
5+
# This file is licensed under the MIT license, copyright © 2020 Peter Johnson,
6+
# https://gravatar.com/delphidabbler
7+
8+
[AddDays]
29
DescEx="<p>Adds the number of days, <var>Days</var>, to the given date, <var>DateTime</var> and returns the result.</p><p>To subtract days, pass a negative value for <var>Days</var>.</p>"
310
Credits="Contributed by Bill Miller."
411
SeeAlso=DiffDays

csdb/collection/drive.ini

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
[CurentDrive]
1+
# DelphiDabbler Code Snippets Database v2
2+
#
3+
# Drive Management category file
4+
#
5+
# This file is licensed under the MIT license, copyright © 2020 Peter Johnson,
6+
# https://gravatar.com/delphidabbler
7+
8+
[CurentDrive]
29
Desc="Returns the letter that identifies the current drive."
310
Credits="Modified from Bill Miller's snippets collection."
411
Snip=352.dat

csdb/collection/encoding.ini

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
[BytesToAnsiString]
1+
# DelphiDabbler Code Snippets Database v2
2+
#
3+
# Encoding category file
4+
#
5+
# This file is licensed under the MIT license, copyright © 2020 Peter Johnson,
6+
# https://gravatar.com/delphidabbler
7+
8+
[BytesToAnsiString]
29
DescEx="Converts the given array of bytes to an ANSI raw byte string, which is returned. The returned string has the code page specified by <var>CodePage</var>."
310
Credits="Based on code from the Stack Overflow posting [How can I convert TBytes to RawByteString?]."
411
Credits_URL="http://stackoverflow.com/questions/773297/how-can-i-convert-tbytes-to-rawbytestring"

csdb/collection/file.ini

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
[CopyFile]
1+
# DelphiDabbler Code Snippets Database v2
2+
#
3+
# File Management category file
4+
#
5+
# This file is licensed under the MIT license, copyright © 2020 Peter Johnson,
6+
# https://gravatar.com/delphidabbler
7+
8+
[CopyFile]
29
DescEx="Copies <var>Source</var> file to <var>Dest</var> file, preserving modification date."
310
Units=Classes,SysUtils
411
SeeAlso=CopyFiles

csdb/collection/graphics.ini

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
[AdjustColorBrightness]
1+
# DelphiDabbler Code Snippets Database v2
2+
#
3+
# Graphics category file
4+
#
5+
# This file is licensed under the MIT license, copyright © 2020 Peter Johnson,
6+
# https://gravatar.com/delphidabbler
7+
8+
[AdjustColorBrightness]
29
DescEx="Adjusts the brightness of colour <var>Color</var> by a specified <var>Delta</var> in range -255..255."
310
Credits="Based on code found on the former EFG's Delphi Reference Library."
411
Units=Windows,Graphics

csdb/collection/hex.ini

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
[AddHexPrefix]
1+
# DelphiDabbler Code Snippets Database v2
2+
#
3+
# Hex Utilities category file
4+
#
5+
# This file is licensed under the MIT license, copyright © 2020 Peter Johnson,
6+
# https://gravatar.com/delphidabbler
7+
8+
[AddHexPrefix]
29
Desc="Adds a valid hex prefix to the given string of hex digits."
310
Comments="The hex prefix is '$' when compiled on Delphi or '0x' when compiled on C++ Builder."
411
Units=SysUtils

csdb/collection/io.ini

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
[FileToString]
1+
# DelphiDabbler Code Snippets Database v2
2+
#
3+
# File and Stream I/O category file
4+
#
5+
# This file is licensed under the MIT license, copyright © 2020 Peter Johnson,
6+
# https://gravatar.com/delphidabbler
7+
8+
[FileToString]
29
DescEx="Reads text in the default ANSI encoding from file named by <var>FileName</var> into a string, which is returned."
310
Units=Classes,SysUtils
411
Depends=StreamToString

0 commit comments

Comments
 (0)