Closed ramagottfried closed 8 years ago
You have to wrap the expression in a lambda and pass i to it:
----------begin_max5_patcher----------
564.3ocqTEraaCCC8r8WAgtrD.uTKa2jhAzq67tuTLHaqtnFYIOI4fjUz+8I
QaujzlrlFrKRlOSJ8HeT743HRodK2Rfu.eGhhdNNJBgB.QC1QjF11JIyhtQp
zMMbkijz+OGeqCwkZ8ZKHEq4.eCSBBq5SN7yNlSn9I3VwAArgYDrRIOAJ6bf
yvYNKHb8Ax.qy38c7vkBEuR2ovaHa.rk4pV4c5GFdkqm44E4yRSfrEo31sKB
a4dC3ggfTcMBkj6vbftGT24FQSGPstcRNlRizPTil5xm97BR.5k33vRxEVx7
YpSqHmm+zEEAFeGEoew35Gg8zKg8EiX8A510x6I.oj4q5vCWQxomUKrsR1t2
zQbiWL86KIRVSYMahHAtojYf6AwzkjjkJzxS8zSp24CfOpUtGYU7C0n.lU7a
DilMK8cKsYymG1n2hcHyouWwMjDUZo1LbJXvGtbX3mPFNnnme1h90Vv4aaMy
pz07fimrpe++np2vZmrTAve+ev..Vaqb2jPzIAO8XSS.lk+qIoIzTOvzSpRy
+epRzLTkxxQUhll9AkILr8KmWlxdqLQOqL80No7arp0b+PuirNR9vaBqMuZb
JltA7i0TqtyTMdECD.1y2Zt0O0zO4zO3XuO4G4yJQcMWcXE2+TLLbEypzS1a
coro3BXC8JYSeox2vsgarCGIRDei9S8Z4hDzTn5MQ8hX3aDi9iSGHLiuSx4a
i5L8C81d2bRen9mGFUm.6VhC27Kw+APeLfJv
-----------end_max5_patcher-----------
I'd like to refer to a lambda variable in a expression stored in a string -- but it looks like eval treats the variable name as a string? or am I missing the way to do this?