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.
Walt Hultgren {rmy} — — source: Informix-list mailing list archive (1991-1998)
Path: emory!gatech!ncar!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!uunet!mcsun!ukc!slxsys!dircon!uaa1006
From: uaa1006@dircon.co.uk (Peter Miles)
Newsgroups: comp.databases
Message-ID: <1991Jun30.164111.21858@dircon.co.uk>
Date: 30 Jun 91 16:41:11 GMT
Organization: The Direct Connection, UK
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
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.