From: Dean Wampler Date: 2006-02-19T08:13:36+09:00 Subject: Re: Python for Fortran Programmers Fortran compilers pass arguments in the opposite order compared to C and C++. I believe this is a "standard" and if I recall correctly, it's because C/C++ support variable argument lists ("varargs"), while Fortran doesn't; C passes the list in reverse order so it's easy to mark both ends of the lists. ("Layman's" description ;) ) dean On 2/18/06, Stephan Mueller wrote: > * Stephan Mueller [060218 18:52]: > > > I guess you are right. Tried it with gfortran and all I get is a > > segfault. > > Ooops, this seems to be a problem with the way I pass over parameters > from ruby to the lib. Will have to double check this. Simple functions > without parameters do work. > > Sorry for the noise. > > > Cheers, > > - Steph. > > -- Dean Wampler http://www.aspectprogramming.com http://www.newaspects.com http://www.contract4j.org