answer with...

Richmond Mathewson richmondmathewson at
Wed Aug 16 15:32:08 EDT 2017

This works:


answer"your Choice" withfld "CHOIX"


if fld "CHOIX" is a listField


On 8/16/17 10:07 pm, jbv via use-livecode 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...
> I tried to put ("John" or "Mary" or "Cancel") in a string
> but (answer "Your choice" with myString) doesn't work as
> expected...
> Any idea ?
> Thanks in advance
> jbv
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list