2009/9/21 Jes=FAs Gabriel y Gal=E1n <jgabrielygalan / gmail.com>:
> On Mon, Sep 21, 2009 at 5:43 PM, Paul Smith <paul / pollyandpaul.co.uk> wro=
te:
>> On Mon, Sep 21, 2009 at 4:09 PM, Matt Brooks <mattbrooks / gatech.edu> wro=
te:
>>> Problem is when I create this variable with an incrementing name, I
>>> can't seem to append it to the end of the signals[0], because I can't d=
o
>>> #{} with another #{} inside of it. I would like this:
>>> write_log("Bin_\##{index}: #{signals[0].#{variable}}")
>>
>> write_log("Bin_\##{index}: #{signals[0] + variable}")
>>
>> Or just
>>
>> call =3D signals[0] + variable
>> write_log("Bin_\##{index}: #{call}")
>
> I might have misunderstood, but I think this doesn't do what the OP
> wanted: to *call* the methods named bin_0, bin_1, etc on the
> signals[0] object.
>

I think I misunderstood.  I was focussing too hard on the #{} inside a
#{} problem.

> Jesus.
>
>



--=20
Paul Smith
http://www.nomadicfun.co.uk

paul / pollyandpaul.co.uk