BTW: I hope everyone had a good Christmas!!!! So, I have this function that takes the name of a table as an argument: (def thad (table-name)
(some table function using table-name))
The table is created upstream with a name derived from 'uniq' then passed around as table-name.I am then storing this uniq-table-name as an element in another table: temp-table. My problem now is that I am trying to take the uniq-table-name element from the temp-table and pass it into Thad, only it's now a type symbol and so dies a horrible death.... Arc > ((temp-table 0) 1)
QYVSn5n1
; QYVSn5n1 is the table-name
Arc > (eval (thad QYVSn5n1))
; this works...
Arc > (eval (thad ((temp-table 0) 1)))
Error: "Function call on inappropriate object
I've played around with 'apply', 'compose', 'ssexpand', but it's not working for me.Any suggestions?, no need to write code for me, even just point me in the right direction.
Thanks.
T. |