SWI-Prolog Did You Know Did you know? You can add menus to the swipl-win.exe console in windows Search Documentation:
Predicate arg/3