uaa1006@dircon.co.uk (Peter Miles) (06/30/91)
I'm having difficulties with the retquote function, when I use it to return strings from a C program to an Informix 4GL program. It works fine when I use it to return a string, but does not work when I try to return a NULL string. How should I return a NULL string to the 4GL? Using the following: retquote(NULL); retquote(""); retquote((char *)'\0'); retquote('\0'); all cause an 'L' character to returned to the 4GL. My 4GL uses a: LET retstr=func(abc) in the .4gl file and the C function 'func'should return either a string or a NULL. Any ideas? Thanks, Pete -- Pete Miles uaa1006@dircon.co.uk ...ukc!dircon!uaa1006