Binder Manual (G06.24+, H06.03+)

BIND Commands
Binder Manual528613-003
3-55
SELECT Command
WARNINGS {ON | OFF}
specifies whether warning messages be sent to the output file. The default is
WARNINGS ON.
Using CHECK PARAMETER
Binder provides parameter and return-value checking by matching parameters and
return values types between called and calling routines. Because each language
has its own set of data types, the matching of parameters and return-value types
between languages cannot be exact. To reduce the number of extraneous Binder
warnings generated when you bind mixed-language programs, Binder provides five
levels of checking:
Use the STRICT setting for single-language programs; use the STRONG setting
for mixed-language programs.
Binder groups parameters into these classes:
°
Two-byte scalar, passed by value.
°
Four-byte integer scalar, passed by value.
°
Four-byte real scalar, passed by value.
°
Eight-byte integer scalar, passed by value.
°
Eight-byte real scalar, passed by value.
°
Byte address.
°
Word address.
°
Extended address.
°
Two-byte procedure parameter.
°
Four-byte procedure parameter.
Note that only the C language defines the passing of structured parameters by
value. Such parameters cannot match parameters in any other language.
ON Formal and actual parameters must be the same size, type,
and mode (passed by value or by reference). Return values
are not checked.
STRICT STRICT is the same as ON.
STRONG Interlanguage calls are checked as LENIENT. Calls between
routines compiled from the same language are checked as
STRICT.
LENIENT Parameters and return values are viewed as members of
classes. Corresponding formal and actual parameters and
corresponding return values must belong to the same class.
OFF
No parameter type and return-value checking.