Hi,
a new thingy:
<hansl>
function void scheck (int a, string *s)
printf "%s\n", s
end function
string hey = "ho"
scheck(2, &hey)
</hansl>
produces:
<output>
gretl-Version 1.10.90cvs
Aktuelle Sitzung: 2015-05-13 09:38
? function void scheck (int a, string *s)
function void scheck (int a, string *s)
Unrecognized data type
'string *'
Fehler bei Skriptausführung: Stopp
function void scheck (int a, string *s)
</output>
Apart from the untranslated error message (could by my own fault)
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.
thanks,
sven