Generate button, attach script, from array?

Hello,
Does anyone have any helpful suggestions as how to A) generate a button and then b) attach script to it dynaimcally from an array?

Thanks,
Pete

Thanks Defective! I really appreciate it.