-
Notifications
You must be signed in to change notification settings - Fork 97
/
hdr_tpl.txt
129 lines (103 loc) · 2.25 KB
/
hdr_tpl.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
/* NOTE: - Please use these template for your new files, replace parts
between curly braces {} with the appropriate text.
- You can find a history at the end of the file. */
FILE HEADER TEMPLATE
====================
FUNCTION HEADER TEMPLATE
========================
/* $DOC$
$AUTHOR$
Copyright YYYY FirstName LastName <[email protected]>
$NAME$
StartHere()
$CATEGORY$
$SUBCATEGORY$
$ONELINER$
$SYNTAX$
$ARGUMENTS$
$RETURNS$
$DESCRIPTION$
$EXAMPLES$
$STATUS$
$COMPLIANCE$
$PLATFORMS$
$VERSION$
$FILES$
$SEEALSO$
Comma separated list of references
$END$
*/
HEADER EXAMPLES
===============
/* $DOC$
$AUTHOR$
Copyright YYYY FirstName LastName <[email protected]>
$NAME$
IsLeapYr()
$CATEGORY$
Date functions
$ONELINER$
Test if a date falls in a leap year.
$SYNTAX$
IsLeapYr( [<dDate>] ) --> <lIsLeap>
$ARGUMENTS$
<dDate> is an optional date. If not supplied is defaults to the
value returned from Date().
$RETURNS$
.T. if <dDate> falls in a leap year, .F. if not.
$DESCRIPTION$
IsLeapYr() can be used to check if a given year is a leap year.
$EXAMPLES$
/* Check if it's a leap year. */
IF IsLeapYr()
? "One extra day before you get paid this Feb!!"
ELSE
? "A normal year"
ENDIF
$STATUS$
C
$COMPLIANCE$
IsLeapYr() works exactly like CA-Cl*pper's IsLeapYr(), if your
CA-Cl*pper doesn't have such a function you're probably in a
different universe from the author of this function.
$PLATFORMS$
All
$FILES$
$SEEALSO$
Date(), IsWeekend(), IsHarbourFinished(), IsApocalypse(), SET DATE
$END$
*/
/* $DOC$
$AUTHOR$
Copyright YYYY FirstName LastName <[email protected]>
$TEMPLATE$
Function
$NAME$
hb_dateEncStr()
$CATEGORY$
C level API
$SUBCATEGORY$
Date/Time
$ONELINER$
$SYNTAX$
C Prototype
#include <hbdate.h>
long hb_dateEncStr( char * szDate )
$ARGUMENTS$
<szDate>
$RETURNS$
<lResult>
$DESCRIPTION$
$EXAMPLES$
$STATUS$
R
$COMPLIANCE$
NA
$FILES$
$PLATFORMS$
All
$VERSION$
1.0
$SEEALSO$
$END$
*/