/usr/lib/swipl/library/prolog_format.pl
All Application Manual Name SummaryHelp

  • swipl
    • library
      • error.pl
      • debug.pl
      • apply.pl
      • lists.pl
      • broadcast.pl
      • shlib.pl
      • option.pl -- Option list processing
      • thread_pool.pl
      • gensym.pl
      • settings.pl
      • arithmetic.pl -- Extensible arithmetic
      • main.pl -- Provide entry point for scripts
      • readutil.pl
      • operators.pl
      • pairs.pl -- Operations on key-value lists
      • prolog_source.pl
      • record.pl
      • quasi_quotations.pl -- Define Quasi Quotation syntax
      • sandbox.pl
      • apply_macros.pl -- Goal expansion rules to avoid meta-calling
      • yall.pl
      • assoc.pl -- Binary associations
      • prolog_format.pl -- Analyse format specifications
        • format_spec/2
        • format_spec//1
        • format_types/2
      • pure_input.pl
      • solution_sequences.pl
      • ordsets.pl -- Ordered set manipulation
      • random.pl
      • base64.pl -- Base64 encoding and decoding
      • aggregate.pl -- Aggregation operators on backtrackable predicates
      • predicate_options.pl
      • csv.pl -- Process CSV (Comma-Separated Values) data
      • pprint.pl
      • atom.pl
      • modules.pl
      • occurs.pl
      • prolog_xref.pl
      • prolog_colour.pl -- Prolog syntax colouring support.
      • lazy_lists.pl
      • ugraphs.pl
      • url.pl
      • www_browser.pl -- Open a URL in the users browser
      • prolog_pack.pl
      • git.pl -- Run GIT commands
      • utf8.pl -- UTF-8 encoding/decoding on lists of character codes.
      • quintus.pl -- Quintus compatibility
      • prolog_versions.pl
      • prolog_wrap.pl
      • dialect.pl
      • date.pl
      • persistency.pl
      • iostream.pl -- Utilities to deal with streams
      • prolog_code.pl -- Utilities for reasoning about code
      • strings.pl
      • dif.pl
      • edinburgh.pl
      • terms.pl
      • ansi_term.pl -- Print decorated text to ANSI consoles
      • threadutil.pl -- Interactive thread utilities
      • prolog_stack.pl
      • prolog_clause.pl
      • prolog_breakpoints.pl -- Manage Prolog break-points
      • wfs.pl
      • sort.pl
      • dicts.pl
      • varnumbers.pl
      • rbtrees.pl -- Red black trees
      • backcomp.pl -- Backward compatibility
      • charsio.pl -- I/O on Lists of Character Codes
      • base32.pl -- Base32 encoding and decoding
      • codesio.pl
      • coinduction.pl
      • heaps.pl -- heaps/priority queues
      • statistics.pl
      • when.pl
      • increval.pl
      • nb_rbtrees.pl
      • ctypes.pl -- Character code classification
      • system.pl
      • shell.pl -- Elementary shell commands
      • tables.pl
      • prolog_metainference.pl
      • tty.pl -- Terminal operations
      • check.pl
      • prolog_codewalk.pl -- Prolog code walker
      • optparse.pl
      • make.pl
      • prolog_trace.pl
      • prolog_debug.pl
      • macros.pl -- Macro expansion
      • exceptions.pl -- Exception classification
      • intercept.pl
      • listing.pl -- List programs and pretty print clauses
      • portray_text.pl
      • writef.pl -- Old-style formatted write
      • vm.pl
      • prolog_profile.pl
      • prolog_coverage.pl
      • nb_set.pl -- Non-backtrackable sets
      • prolog_jiti.pl
      • files.pl
      • oset.pl
      • thread.pl -- High level thread primitives
      • zip.pl
      • check_installation.pl -- Check installation issues and features
      • help.pl
      • prolog_autoload.pl
      • readln.pl
      • hashtable.pl
      • edit.pl
      • rwlocks.pl
      • prolog_deps.pl
      • prolog_history.pl
 format_spec(+Format, -Spec:list) is det
Parse a format string. Each element of Spec is one of the following:
text(Text)
Text sent to the output as is
escape(Num, Colon, Action)
A format escape. Num represents the optional numeric portion of an esape. Colon represents the optional colon in an escape. Action is an atom representing the action to be take by this escape.