How do I create a pair of choice buttons

I am writing a script where I need to have the user select one of two choices. I think all I need to do is change the name of the OK button and the CANCEL button to choice A and choice B, respectively. If the returned button is OK that would be choice A and the cancel button would be choice B. How can I do this? TIA.

Never mind. I found it. Sorry.

I like this form if I’m giving the user a simple choice:

set theType to (button returned of (display dialog "Choose which you want to enter" buttons {"Cancel", "Number", "Name"}) is "Name") -- true for Name, false for Number
-- choosing cancel will cause the script to quit.

Then a simple test leads into whatever the choice invoked.