mar29
0
Q:

menu-driven in prolog

get_action(Choice) :-
        menu('Title',
                [ option_1 : 'Option One'
                , option_2 : 'Option Two'
                , quit     : 'Quit'
                ], Choice).
0

New to Communities?

Join the community