Am Freitag, dem 22.05.2026 um 11:44 -0400 schrieb Allin Cottrell:
On Fri, 22 May 2026, Riccardo (Jack) Lucchetti forwarded this from
Artur Tarassow:

I've encountered what appears to be a bug (or unsupported feature)
when using lag specifications with the "to" keyword inside functions
when referring to a passed list parameter.

The following code produces an error: "The symbol 'to' is undefined"

<hansl>
set verbose off
open denmark.gdt --quiet

function void foo(list D)
list L = LRM D.LRM(-1)
L += D.LRM(-2 to -4) # Error: "The symbol 'to' is undefined"
end function
foo(dataset)
</>

I'd prefer to think of this as an "unsupported feature" ;-)

But, anyway, it's now supported in git master.

Thank you Allin - it works nicely.

Artur