Switching 'passing' to 'ytd' as requested, though this is weird.
[capital-apms-progress.git] / inc / null.i
blob25bbe9d2183e357913c01029a071651085c55c04
1 &ANALYZE-SUSPEND _VERSION-NUMBER UIB_v8r12
2 &ANALYZE-RESUME
3 &ANALYZE-SUSPEND _UIB-CODE-BLOCK _CUSTOM _DEFINITIONS Method-Library
4 /*--------------------------------------------------------------------------
5 Library :
6 Purpose :
8 Syntax :
10 Description :
12 Author(s) :
13 Created :
14 Notes :
15 ------------------------------------------------------------------------*/
16 /* This .W file was created with the Progress UIB. */
17 /*----------------------------------------------------------------------*/
19 /* *************************** Definitions ************************** */
21 /* _UIB-CODE-BLOCK-END */
22 &ANALYZE-RESUME
25 &ANALYZE-SUSPEND _UIB-PREPROCESSOR-BLOCK
27 /* ******************** Preprocessor Definitions ******************** */
31 /* _UIB-PREPROCESSOR-BLOCK-END */
32 &ANALYZE-RESUME
35 /* ************************ Function Prototypes ********************** */
37 &IF DEFINED(EXCLUDE-null-dec) = 0 &THEN
39 &ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION-FORWARD null-dec Method-Library
40 FUNCTION null-dec RETURNS DECIMAL
41 ( INPUT d AS DECIMAL, INPUT alt AS DECIMAL ) FORWARD.
43 /* _UIB-CODE-BLOCK-END */
44 &ANALYZE-RESUME
46 &ENDIF
48 &IF DEFINED(EXCLUDE-null-int) = 0 &THEN
50 &ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION-FORWARD null-int Method-Library
51 FUNCTION null-int RETURNS INTEGER
52 ( INPUT i AS INTEGER, INPUT alt AS INTEGER ) FORWARD.
54 /* _UIB-CODE-BLOCK-END */
55 &ANALYZE-RESUME
57 &ENDIF
59 &IF DEFINED(EXCLUDE-null-log) = 0 &THEN
61 &ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION-FORWARD null-log Method-Library
62 FUNCTION null-log RETURNS LOGICAL
63 ( INPUT l AS LOGICAL, INPUT alt AS LOGICAL ) FORWARD.
65 /* _UIB-CODE-BLOCK-END */
66 &ANALYZE-RESUME
68 &ENDIF
70 &IF DEFINED(EXCLUDE-null-str) = 0 &THEN
72 &ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION-FORWARD null-str Method-Library
73 FUNCTION null-str RETURNS CHARACTER
74 ( INPUT c AS CHARACTER, INPUT alt AS CHARACTER ) FORWARD.
76 /* _UIB-CODE-BLOCK-END */
77 &ANALYZE-RESUME
79 &ENDIF
82 /* *********************** Procedure Settings ************************ */
84 &ANALYZE-SUSPEND _PROCEDURE-SETTINGS
85 /* Settings for THIS-PROCEDURE
86 Type: Method-Library
87 Allow:
88 Frames: 0
89 Add Fields to: Neither
90 Other Settings: INCLUDE-ONLY
92 &ANALYZE-RESUME _END-PROCEDURE-SETTINGS
94 /* ************************* Create Window ************************** */
96 &ANALYZE-SUSPEND _CREATE-WINDOW
97 /* DESIGN Window definition (used by the UIB)
98 CREATE WINDOW Method-Library ASSIGN
99 HEIGHT = .25
100 WIDTH = 39.14.
101 /* END WINDOW DEFINITION */
103 &ANALYZE-RESUME
104 &ANALYZE-SUSPEND _UIB-CODE-BLOCK _XFTR "MethodLibraryCues" Method-Library _INLINE
105 /* Actions: adecomm/_so-cue.w ? adecomm/_so-cued.p ? adecomm/_so-cuew.p */
106 /* Method Library,uib,70080
107 Destroy on next read */
108 /* _UIB-CODE-BLOCK-END */
109 &ANALYZE-RESUME
114 &ANALYZE-SUSPEND _UIB-CODE-BLOCK _CUSTOM _INCLUDED-LIB Method-Library
115 /* ************************* Included-Libraries *********************** */
117 /* _UIB-CODE-BLOCK-END */
118 &ANALYZE-RESUME
122 &ANALYZE-SUSPEND _UIB-CODE-BLOCK _CUSTOM _MAIN-BLOCK Method-Library
125 /* *************************** Main Block *************************** */
127 /* _UIB-CODE-BLOCK-END */
128 &ANALYZE-RESUME
131 /* ************************ Function Implementations ***************** */
133 &IF DEFINED(EXCLUDE-null-dec) = 0 &THEN
135 &ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION null-dec Method-Library
136 FUNCTION null-dec RETURNS DECIMAL
137 ( INPUT d AS DECIMAL, INPUT alt AS DECIMAL ) :
138 /*------------------------------------------------------------------------------
139 Purpose:
140 Notes:
141 ------------------------------------------------------------------------------*/
143 IF d = ? THEN RETURN alt. ELSE RETURN d.
145 END FUNCTION.
147 /* _UIB-CODE-BLOCK-END */
148 &ANALYZE-RESUME
150 &ENDIF
152 &IF DEFINED(EXCLUDE-null-int) = 0 &THEN
154 &ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION null-int Method-Library
155 FUNCTION null-int RETURNS INTEGER
156 ( INPUT i AS INTEGER, INPUT alt AS INTEGER ) :
157 /*------------------------------------------------------------------------------
158 Purpose:
159 Notes:
160 ------------------------------------------------------------------------------*/
162 IF i = ? THEN RETURN alt. ELSE RETURN i.
164 END FUNCTION.
166 /* _UIB-CODE-BLOCK-END */
167 &ANALYZE-RESUME
169 &ENDIF
171 &IF DEFINED(EXCLUDE-null-log) = 0 &THEN
173 &ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION null-log Method-Library
174 FUNCTION null-log RETURNS LOGICAL
175 ( INPUT l AS LOGICAL, INPUT alt AS LOGICAL ) :
176 /*------------------------------------------------------------------------------
177 Purpose:
178 Notes:
179 ------------------------------------------------------------------------------*/
181 IF l = ? THEN RETURN alt. ELSE RETURN l.
183 END FUNCTION.
185 /* _UIB-CODE-BLOCK-END */
186 &ANALYZE-RESUME
188 &ENDIF
190 &IF DEFINED(EXCLUDE-null-str) = 0 &THEN
192 &ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION null-str Method-Library
193 FUNCTION null-str RETURNS CHARACTER
194 ( INPUT c AS CHARACTER, INPUT alt AS CHARACTER ) :
195 /*------------------------------------------------------------------------------
196 Purpose:
197 Notes:
198 ------------------------------------------------------------------------------*/
200 IF c = ? THEN RETURN alt. ELSE RETURN c.
202 END FUNCTION.
204 /* _UIB-CODE-BLOCK-END */
205 &ANALYZE-RESUME
207 &ENDIF