|
From: Ethan M. <eam...@gm...> - 2014-12-08 16:47:49
|
On Mon, Dec 8, 2014 at 4:25 AM, Jacob Gerlach <jac...@gm...> wrote:
> Thanks for the tips.
>
> On Sun Dec 07 2014 at 8:48:29 PM Ethan A Merritt <EAM...@gm...>
> wrote:
>>
>> files = "one two three four"
>>
>> do for [name in files] {
>> stats name.'.txt' using 1 prefix name
>> }
>
>
> I get an "illegal prefix" error when I try this. It seems like it doesn't
> like taking the prefix from a variable, but I can't find any discussion of
> this on the web.
I use this construction in scripts myself, so I am sure there is no
such limitation in general. The prefix must conform to normal
limitations for variable names, however. It cannot start with a digit
or contain punctuation marks.
Ethan
> Any ideas?
>
> Jake
|