TypeCobol
TypeCobol copied to clipboard
Procedure overloading signatures with PICTURE Types failed.
The following procedure signatures are not recognized as different by TypeCobol. two messages "Syntax error: A function "InitShape" with the same profile already exits in namespace..."
DECLARE PROCEDURE InitShape PUBLIC
INPUT
Ext PIC 9
OUTPUT RC PIC 9
.
END-DECLARE.
DECLARE PROCEDURE InitShape PUBLIC
INPUT
Ext2 PIC X(3)
OUTPUT RC PIC 9999
.
END-DECLARE.
See also #1090