Hey all,
I've got a problem with the following example. I want to run loop "j" over
different samples where the starting date and ending date are given by
strings (from @temp to @last). If you run this loop "j" separately it
works, but embedding it into the loop "i" does give the error message:
"Data types not conformable for operation".
<hansl>
open australia
sprintf first "%s", obslabel($t1)
sprintf temp "%s", obslabel($t1+2)
sprintf last "%s", obslabel($t2)
printf "Full sample: @first to @last.\n"
scalar rep = 10
loop i=1..rep
smpl @first @temp
loop j=@temp..@last
scalar x=0
smpl ; +1
x=x+1
endloop
endloop
<\hansl>
I cannot figure out the problem here.
Best,
Artur