[Migrated content. Thread originally posted on 07 June 2011]
Hi - We're currently testing Visual COBL R4 in our project. We are compiling a COBOL program that uses the AS keyword in a .NET C# method. These programs are working in a later version before (R3).Example:
IF FORMAT-NAME = "FORMATNAME"
INVOKE CSHARP_CLASS::"CSharp_Method" (BY REFERENCE OBJ-COBOL AS CobolClass, BY REFERENCE RECORD)
END-IF
We get an error COBCH0919: An AS expression cannot be used as a receiving item
Any thoughts on this?
Thanks in advance! :)