But I want to keep terminating the lines with \ instead of “\c” since other prolog dialects do so, and I can change from one program to another easily.
If I migrate large chunks then suddenly I got a lot of warnings.
When in ISO mode (see the Prolog flag iso), only skip this sequence. In native mode, white space that follows the newline is skipped as well and a warning is printed, indicating that this construct is deprecated and advising to use \c . We advise using \c or putting the layout before the \ , as shown below. Using \c is supported by various other Prolog implementations and will remain supported by SWI-Prolog. The style shown below is the most compatible solution.
But, in a file I can’t set
set_prolog_flag(iso,true).
since it says I’m redefining the predicate.
It works for the “user” debugging(sending prolog code to a prolog process in an emacs windowS), which is great.