|Did you know ...||Search Documentation:|
|Predicates to support adapting code for double quoted strings|
The predicates in this section can help adapting your program to the new convention for handling double quoted strings. We have adapted a huge code base with which we were not familiar in about half a day.
[X] = "a"into
X = 0'a.
:- set_prolog_flag(double_quotes, codes).
`text`). Note that this will not make your code run regardless of the --traditional command line option and code exploiting this mapping is also not portable to ISO compliant systems.
:- multifile check:string_predicate/1. check:string_predicate(user:help_info/2).
:- multifile check:valid_string_goal/1. check:valid_string_goal(system:format(_,S,_)) :- string(S).