1 &ANALYZE-SUSPEND _VERSION-NUMBER UIB_v8r12
3 &ANALYZE-SUSPEND _UIB-CODE-BLOCK _CUSTOM _DEFINITIONS Method-Library
4 /*--------------------------------------------------------------------------
15 ------------------------------------------------------------------------*/
16 /* This .W file was created with the Progress UIB.
*/
17 /*----------------------------------------------------------------------*/
19 /* *************************** Definitions
************************** */
21 /* _UIB-CODE-BLOCK-END
*/
25 &ANALYZE-SUSPEND _UIB-PREPROCESSOR-BLOCK
27 /* ******************** Preprocessor Definitions
******************** */
31 /* _UIB-PREPROCESSOR-BLOCK-END
*/
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
*/
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
*/
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
*/
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
*/
82 /* *********************** Procedure Settings
************************ */
84 &ANALYZE-SUSPEND _PROCEDURE-SETTINGS
85 /* Settings for
THIS-PROCEDURE
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
101 /* END WINDOW DEFINITION
*/
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
*/
114 &ANALYZE-SUSPEND _UIB-CODE-BLOCK _CUSTOM _INCLUDED-LIB Method-Library
115 /* ************************* Included-Libraries
*********************** */
117 /* _UIB-CODE-BLOCK-END
*/
122 &ANALYZE-SUSPEND _UIB-CODE-BLOCK _CUSTOM _MAIN-BLOCK Method-Library
125 /* *************************** Main Block
*************************** */
127 /* _UIB-CODE-BLOCK-END
*/
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 /*------------------------------------------------------------------------------
141 ------------------------------------------------------------------------------*/
143 IF d
= ?
THEN RETURN alt.
ELSE RETURN d.
147 /* _UIB-CODE-BLOCK-END
*/
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 /*------------------------------------------------------------------------------
160 ------------------------------------------------------------------------------*/
162 IF i
= ?
THEN RETURN alt.
ELSE RETURN i.
166 /* _UIB-CODE-BLOCK-END
*/
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 /*------------------------------------------------------------------------------
179 ------------------------------------------------------------------------------*/
181 IF l
= ?
THEN RETURN alt.
ELSE RETURN l.
185 /* _UIB-CODE-BLOCK-END
*/
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 /*------------------------------------------------------------------------------
198 ------------------------------------------------------------------------------*/
200 IF c
= ?
THEN RETURN alt.
ELSE RETURN c.
204 /* _UIB-CODE-BLOCK-END
*/