Proper way to return a string
- From: Jeremy <my-first-name@xxxxxxxxxx>
- Date: 27 Dec 2006 18:52:51 GMT
I am wrapping (because I cannot find it already done, if you know of one
that exists let me know!) libpq for PostgreSQL database access. A
function, PQresStatus returns a string version of the result status. In
returning this to Fortran, can I return it from a function call? Should
I? Should I use a subroutine, I know how to easily deal with giving
string information back that way.
I guess I am still trying to understand when I should use a function
and when I should use a subroutine with inout/out parameters.
Jeremy
.
- Follow-Ups:
- Re: Proper way to return a string
- From: Ron Shepard
- Re: Proper way to return a string
- From: Steven G. Kargl
- Re: Proper way to return a string
- Prev by Date: Re: Converting string to Integer, Real, etc...
- Next by Date: Re: READ and delimited format
- Previous by thread: Converting string to Integer, Real, etc...
- Next by thread: Re: Proper way to return a string
- Index(es):