answer with...

Dr. Hawkins dochawk at gmail.com
Wed Aug 16 16:49:44 EDT 2017


On Wed, Aug 16, 2017 at 12:07 PM, jbv via use-livecode <
use-livecode at 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



More information about the Use-livecode mailing list