Am 07.06.2013 13:35, schrieb Artur Tarassow:
Hi all,
in the past the following worked, but it does do so in the recent
version anymore:
<hansl>
smpl 1972:1 1978:3
string first = "1972:1"
string last = "1978:3"
scalar Tdiff = 2
smpl @first @last-Tdiff
<\hansl>
I'm surprised that this supposedly worked...
What would be a simple alternative here?
if you just want to move the end of the sample:
smpl +0 -2
or more generally you could do things with
obslabel(obsnumber(last)-Tdiff)
(not sure if it has to be obsnumber("@last") here)
-sven