I am using CVF 6.6B and struggling to port a program from a UNIX environment. The program comes as a main program with numerous subprogram units. On comment lines at the top of each subprogram the coder has a module name, then lists public & private subroutines, and other modules using it.
To make these subprograms into actual modules, I have done the following:
Public :: Binopn
Subroutine Binopn (a)
End Subroutine Binopn
End Module BinFile
I have gone to the main file and put in the use statement:
Call Executable program
End Program Engineer
When I compile the program it gives me many LNK 2001 errors (unresolved external). The unresolved subroutine comes from another subprogram object file that has a call to the Module Binfile.
I did the foregoing based on the example presented in section 8.2 Modules & Modules Procedures in the Language Manual.
I would appreciate any suggestion to resolve this problem.