Am 13.05.2015 um 20:10 schrieb Allin Cottrell:
On Wed, 13 May 2015, Sven Schreiber wrote:
> apparently gretl doesn't accept strings to be passed in pointer form?
> Is this deliberate? AFAICS the docs with respect to pointers just talk
> about function arguments in general, not just scalars and matrices.
What we say is (Guide, chapter 13), "Each of the type-specifiers, with
the exception of list and string, may be modified by prepending an
asterisk to the associated parameter name" to get a pointerized version.
Right, fair enough. Note however that at the top of section 13.4 it says
"Series, scalar, and matrix arguments to functions can be passed in two
ways: “as they are”, or as pointers"
Since I'm successfully passing around bundles in pointer-form (as also
done in section 10.7 of the manual), the bundle type is missing in this
enumeration I think.
(It's because of these slight glitches that it's not always 100% clear
to me whether the omission of string types in this list is intended or not.)
thanks,
sven