On Mon, 20 Oct 2014, henrique.andrade(a)bb.com.br wrote: > Dear Allin, > > I think the problem with wildcards is not completely solved. Please take a > look at the following script (you can find the used dataset attached): > > <hansl> > open "Dados.gdt" --quiet > > loop for i=1..12 --quiet > store "@dotdir\Projeções ($i passo).gdt" ibcbr proj_*_$i > endloop > > loop for i=1..12 --quiet > store "@dotdir\Projeções ($i passo).gdt" *_$i > endloop > > </hansl> > > This commands work just fine, but that one don't: > > <hansl> > loop for i=1..12 --quiet > store "@dotdir\Projeções ($i passo).gdt" ibcbr *_$i > endloop > </hansl>
Thanks, Henrique. I see the problem, but if I'm not mistaken this is not connected with the new command parser; I think it has always been there. The minimal version of the error is <hansl> open dados.gdt list L = const *_1 </hansl> That is, you try to form a list starting with a series (or a named list), followed by a wildcard expression that starts with '*'. The second term is not recognized as adding to the list. I'll have a go at fixing this tomorrow. Allin
