Whoops, I was sure the OP of /this/ thread was someone other that Anthony :-)
-- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 30 September 2011 10:59, Mark Hurd <markeh...@gmail.com> wrote: > Note that if this were possible, Anthony Mayan's request to display > all arguments to a function would be possible, because reflection can > give you the argument names, as was mentioned. > > -- > Regards, > Mark Hurd, B.Sc.(Ma.)(Hons.) > > On 29 September 2011 17:01, <djones...@gmail.com> wrote: >> Hello >> >> Spring iexpression will do this for you, >> So would lua. >> >> .Net 4 and use the dlr to use a language that supports it. >> >> However, you will be complicating your life. Are there valid reasons for >> doing this or is it just a way to get around a huge switch case statement. >> >> I've spent the last 2 weeks trying to unravel a spring implementation of >> dynamic code injection. From the original spec I can see no reason for doing >> it this way, except to not write 5 class implementations. I've given up >> trying to remove the code, it's too complex to do without rewriting the >> underlying algorithm. >> >> .02€ >> Davy >> ------Original Message------ >> From: Anthony Mayan >> Sender: ozdotnet-boun...@ozdotnet.com >> To: ozDotNet >> ReplyTo: ozDotNet >> Subject: Simple or hard solution >> Sent: 29 Sep 2011 07:42 >> >> I have a function >> >> sub SayHello(word as string) >> Dim x as string="word" >> >> trace.write(word) ''works fine of course >> >> trace.write(eval(x)) 'is this possible?? or how can i make this possible >> end sub >> >> >> "When all you have is a hammer, every problem looks like a nail." I feel >> much the same way about xml