translation issues
by Sven Schreiber
Hi,
I have just tried to catch up in terms of the (German) translation, and
as usual not everything was totally clear. (The majority of stuff is
already committed to cvs, however.)
a) "percent change in %s" not translatable (it appears in a dialog window)
b) context for "break-point for %s test", line 4128 -- is %s going to be
a variable name, or how is it meant?
c) context for "Resources...", line 8488 -- couldn't find it.
And one remark:
- url.sty seems to be required for building (I mean "…
[View More]make", not "make
pdfdocs"), but the corresponding package (texlive-latex-recommended) is
not in build-dep.
thanks,
sven
[View Less]
9 years, 7 months
String as pointer argument
by Sven Schreiber
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 …
[View More]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
[View Less]
9 years, 7 months
ambiguous loop index
by Sven Schreiber
Hi,
I was surprised that this works with 'i' being used in two nested loops:
<hansl>
matrix m1 = I(5)
loop i = 1..5
matrix hey = m1[i,]
loop i = 1..2
matrix hu = m1[,i]
endloop
endloop
</hansl>
Although I'm impressed that gretl gets this right, I tend to think that
it should be banned, because subtle errors would be likely IMHO.
This is with a snapshot from May 20th.
thanks,
sven
9 years, 7 months