Path: utzoo!utgpu!water!watmath!clyde!att!rutgers!bellcore!tness7!tness1!nuchat!texhrc!ldm From: ldm@texhrc.UUCP (Lyle Meier) Newsgroups: comp.lang.c Subject: Re: C vs. FORTRAN Summary: Fortran 77 does not allow variable arguements Message-ID: <246@texhrc.UUCP> Date: 6 Jul 88 03:14:53 GMT References: <3136@phoenix.Princeton.EDU> <225800038@uxe.cso.uiuc.edu> <546@philmds.UUCP> Organization: Texaco Houston Res. Cntr Hou, Tx Lines: 18 In article <546@philmds.UUCP>, leo@philmds.UUCP (Leo de Wit) writes: . . . > How does FORTRAN b.t.w. handle the situation that there is a variable > arguments list (cf. printf()) ? Seems a bit difficult with 'static lists'. > Probably does not.... > According to the fortran 77 standard variable arguements are not allowed between fortran programs, and the issue is not specified with respect to other languages (They don't exist as far as the standard is concerned). We ran into this issue in trying to build a binding of posix to fortran, where we had to either break the number of characters in a variable name (6) or the variable arguement list problem. We chose to break the name length issue. I believe the standard says the arguements must agree in number and type between the caller and the callee.