Calling C with different number of arguments
Posted in 1994
Hello world, does anybody know how to 'skip' the compiler validation in the Informix-4gl language about the arguments passed to a function ? This is, I have a function in C which could receive a different number of parameters and I have a 4gl aplicattion calling to this function. There several calls could appear to this function in the same 4gl module with different number of arguments one from each other. One posible use follows : . . FUNCTION Call4glToC() . . . CALL CFuncion(a1, a2, ..., an) . . . CALL CFuncion(a1, a2, ..., am) . . . END FUNCTION . . . Here, clearly n <> m Hope somebody could help me. Regards from Monterrey, Mexico Carlos Luis Castillo