Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Scott Ellard — — source: Informix-list mailing list archive (1991-1998)
In article <3erjsn$6nu$1@mhadg.production.compuserve.com> Aaron Trewern <100322.2430@CompuServe.COM> writes:
>Is it possible to create a C4gl function that will accept a variable number
>of arguments, in a similar fashion to the way that the VARARGS works in C.
>
>I have the code for the function str_cat() below. The problem is that C4gl
>complains at compile time error -4333 the second call has a different
>argument count to the first.
>
>Whilst the function can be called with varying arguments this must be done
>in a separate module - not very useful.
The semi-documented '-z' flag is used to defeat argument checking.
You may need to hack your c4gl shell script to accept it as a command
line argument and then pass it to the FGLC pass of the compiler.
Avoid hard coding the option, it should only be used when necessary.
Scott
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.