What goes where?
18-Feb-88 00:25:17
Sb: #109707-What goes where?
Fm: Nick Sullivan/Transactor 76703,4353
To: Ben Blish 72667,1341
This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.
Ben, (*strcmp)() ought to do it. If you have an array of function names,
thus: static int (*funcs[])() = { func1, func2, func3 }; you can call the
nth one with: returnval = (*(funcs[n]))(args);
Nick