HP Fortran Programmer's Reference (September 2007)

Program units and procedures
Arguments
Chapter 7180
Here are the command lines to compile and link both files, and to execute the program, along
with the output from a sample run:
$ cc -Aa -c get_args.c
$ f90 pass_args.f90 get_args.o
$ a.out
First argument: 20
Second argument: 3.400000
Third argument: Hi!
Fourth argument: 12
For additional information about multi-language programming, refer to the
HP Fortran Programmer’s Guide. The built-in functions can also be used with the ALIAS
directive, where they have a slightly different syntax.