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