Ok, this is weird. Your example works here as well. I installed recent cvs, but the problem still exists using my more complex case. I have to figure out where the issue lies.
I'll let your know when I find the point.

Artur

2014-11-19 17:32 GMT+01:00 Allin Cottrell <cottrell@wfu.edu>:
On Wed, 19 Nov 2014, Artur T. wrote:

> I just wanted to run a script which worked properly around 3 months ago
> (using current cvs at this time on Win 7).
>
> I set up two inner loops (called LOOP and j, respectively) and have the
> following command:
> <hansl>
> matrix b_D$LOOP_E$j_sim = zeros(n_rep,ncoff)
> </hansl>
> Unfortunately this is not working any more with a ten days old csv, and I
> obtain the following msg:
>
> "Varname 'b_D$LOOP_E$j_sim' contains illegal character '$'
> Use only letters, digits and underscore"

Can you give us some more context? I tried the following test:

<hansl>
loop LOOP=1..2 -q
   loop j=1..2 -q
     matrix b_D$LOOP_E$j_sim = zeros(LOOP,j)
     print b_D$LOOP_E$j_sim
   endloop
endloop
</hansl>

and it ran without errors on current CVS.

Allin Cottrell
_______________________________________________
Gretl-devel mailing list
Gretl-devel@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-devel