Let’s say I’m using module x.
?- module(x).
Warning: x is not a current module (created)
true.
x: ?-
Code will be evaluated using x.
x: ?- ensure_loaded(sum_file).
sum_file is not evaluated as a x file *music rolls*. Anyway, how do I load file in the same mode?edit:it already does? problem was somewhere else. nvm