Did you know ...
Search Documentation:
Predicate list_strings/1
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
Documentation
Reference manual
The SWI-Prolog library
library(check): Consistency checking
check/0
list_undefined/0
list_undefined/1
list_autoload/0
list_redefined/0
list_cross_module_calls/0
list_void_declarations/0
list_trivial_fails/0
list_trivial_fails/1
trivial_fail_goal/1
list_strings/0
list_strings/1
list_rationals/0
list_rationals/1
list_format_errors/0
list_format_errors/1
string_predicate/1
valid_string_goal/1
checker/2
Packages
Availability:
:- use_module(
library(check)
).
(can be autoloaded)
[det]
list_strings
[det]
list_strings
(
+Options
)
List strings that appear in clauses. This predicate is used to find portability issues for changing the Prolog flag
double_quotes
from
codes
to
string
, creating packed string objects. Warnings may be suppressed using the following multifile hooks:
string_predicate/1
to stop checking certain predicates
valid_string_goal/1
to tell the checker that a goal is safe.
See also
Prolog flag
double_quotes
.