ID:180129
 
I'm guessing it is (reference shows the code template with 3 buttons). Alert is not mentioned in the Blue Book either (I'm assuming it was implemented after the printing...

Well, thanks for any responses.


- matt


p.s. I know I can use 'input' instead - I am just curious as to the limitations of 'alert'
plourde603 wrote:
I'm guessing it is (reference shows the code template with 3 buttons). Alert is not mentioned in the Blue Book either (I'm assuming it was implemented after the printing...

Right now it is limited to three buttons. It would be fairly easy to support an arbitrary number. We can do this once we support an alternative notation: alert() in list(...). (like input), which in hindsight makes more sense anyway.