On Wed, Aug 16, 2017 at 12:07 PM, jbv via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi
> I have a blank...
> I need to use a prompt in the form of
>   answer "Your choice" with "John" or "Mary" or "Cancel"
>
> the problem is that the number of options depends on the
> result of a DB request, and can vary from 2 to 6...
>

put "answer " & quote & "Your  Choice" &quote & " with" into myCmd
repeat for each word who in theLIst

put who & " or " after myCmd

end repeat

delete char -4 to -1 of yCmd
do myCmd


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to