3 Replies Latest reply on Jun 25, 2006 10:33 AM by kglad

    String in function call

      Is there a way to interpret a string inside of a function call? For example if I have three functions: actA(), actB(), and actC() and a string reference that is either "A", "B", or "C", is it possible to call the right function based on the string? For example if the string is A actA() would be called, if the string is B actB() would be called. Someone told me to do this: act[myString](); but that does not seem to work.