Page 1 of 1

setbounds

Posted: Fri Nov 15, 2024 1:45 am
by tvonbrasch
Hi,

when running the code:

Code: Select all

wfcreate q 2000 2020 model m for !i=1 to 10 m.append x{!i}=100+@trend m.append y{!i}=100 %setbounds= %setbounds+" x"+ @str(!i)+"(1,110)"+" y"+ @str(!i)+"(1,110)" next m.setbounds {%setbounds} m.msg m.solve
why does the error message read: "Warning: 20 variables have cross boundaries"
boundaries.jpg
boundaries.jpg (35.37 KiB) Viewed 45004 times
and not "Warning: 10 variables have cross boundaries" ?

Is this a bug?
Thomas

Re: setbounds

Posted: Mon Nov 18, 2024 12:28 pm
by EViews Matt
Hello,

Yes, that's a small reporting error. Fixed in the next patch.

Re: setbounds

Posted: Fri Nov 22, 2024 1:06 am
by tvonbrasch
Hi,

the scalar @bounds scalar still shows 20:

Code: Select all

scalar _a=m.@bounds show _a

Re: setbounds

Posted: Fri Nov 22, 2024 10:46 am
by EViews Matt
You're right. That should've been fixed in the most recent patch, but the next patch will correct this issue.

Re: setbounds

Posted: Wed Nov 27, 2024 1:03 pm
by tvonbrasch
Great, thanks!