How do you allow 2 different answers for a dialog display?

I have a simple dialog that I only want 2 answers for. When I run the script, it only accepts the first term as an answer, and treats the second possiblity like it is a wrong answer. Does anyone know the trick to make it accet both answers? Thanks, Ian

set myAnswer1 to the text returned of (display dialog "What do you want me to play now, an artist or playlist?" default answer "artist")
repeat until myAnswer1 is {"artist", "playlist"}
	set myAnswer1 to the text returned of (display dialog "I only gave you the choice of an artist or playlist! What do you want?" default answer "artist")
end repeat

sweet! I have alot of funny questions…I am new at it. Alot of fun!

Gentlemen:

Do not miss these threads on the topic:

http://bbs.applescript.net/viewtopic.php?id=15070

http://bbs.applescript.net/viewtopic.php?id=14995

http://bbs.applescript.net/viewtopic.php?id=14944