var
x = list("myFunction1" = myFunction1());
proc/myFunction1() {
world << "x";
}
Works fine, but the, how do i call the "myFunction1" (The one in the list) so it prints the "x"
ID:845827
|
|
Let's think about this. I have a list, each item of a list haves a function. Look example:
var Works fine, but the, how do i call the "myFunction1" (The one in the list) so it prints the "x" |
Jul 1 2012, 1:46 pm
Best response
|
|
You're not creating a "function pointer", you're just setting "MyFunction1" to the value returned by myFunction1(). If you want to dynamically call a function, you need to use the call() process.
|
teststuff/var test() doesn't get called. :/ |