Hi,
gretl doesn't accept a pointerized "int" argument it seems, as opposed
to a plain "scalar":
<hansl>
function void check1(scalar *hey) # works
print hey
end function
function void check2(int *ho) # doesn't work
print ho
end function
</hansl>
gives:
<error>
Unrecognized data type 'int *'
Fehler bei Skriptausführung: Stopp
</error>
Is this intended? (I wouldn't think so -- in section 13.4 of the guide
it just says "scalar ... can be passed in two ways" and not explicitly
int, but since before the guide says "int -- scalar variable acting as
an integer" I think this should apply to int as well.)
thanks,
sven
Show replies by date