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

  • swipl
    • library
      • error.pl
      • debug.pl
      • apply.pl -- Apply predicates on a list
      • lists.pl -- List Manipulation
      • broadcast.pl -- Event service
      • shlib.pl
      • option.pl -- Option list processing
      • thread_pool.pl
      • gensym.pl
      • settings.pl -- Setting management
      • arithmetic.pl
      • main.pl -- Provide entry point for scripts
      • readutil.pl
      • operators.pl -- Manage operators
      • pairs.pl
      • prolog_source.pl
      • record.pl
      • quasi_quotations.pl
      • pure_input.pl -- Pure Input from files and streams
      • solution_sequences.pl
      • ordsets.pl
      • random.pl
      • base64.pl
      • aggregate.pl
      • yall.pl -- Lambda expressions
      • sandbox.pl
      • apply_macros.pl -- Goal expansion rules to avoid meta-calling
      • assoc.pl
      • prolog_format.pl -- Analyse format specifications
        • format_spec/2
        • format_spec//1
        • format_types/2
      • predicate_options.pl
      • csv.pl
      • pprint.pl
      • atom.pl
      • modules.pl -- Module utility predicates
      • occurs.pl
      • prolog_xref.pl
      • prolog_colour.pl -- Prolog syntax colouring support.
      • lazy_lists.pl
      • ugraphs.pl
      • url.pl
      • www_browser.pl
      • prolog_pack.pl
      • git.pl -- Run GIT commands
      • rbtrees.pl
      • dif.pl -- The dif/2 constraint
      • charsio.pl
      • prolog_stack.pl
      • edinburgh.pl -- Some traditional Edinburgh predicates
      • prolog_clause.pl
      • prolog_breakpoints.pl
      • wfs.pl
      • dialect.pl -- Support multiple Prolog dialects
      • prolog_code.pl
      • sort.pl
      • iostream.pl -- Utilities to deal with streams
      • dicts.pl
      • varnumbers.pl
      • prolog_coverage.pl
      • tables.pl
      • base32.pl
      • codesio.pl
      • coinduction.pl -- Co-Logic Programming
      • date.pl
      • heaps.pl -- heaps/priority queues
      • statistics.pl -- Get information about resource usage
      • terms.pl
      • utf8.pl
      • when.pl
      • backcomp.pl -- Backward compatibility
      • make.pl
      • writef.pl
      • persistency.pl -- Provide persistent dynamic predicates
      • portray_text.pl
      • qsave.pl
      • zip.pl -- Access resource ZIP archives
      • prolog_autoload.pl -- Autoload all dependencies
      • check.pl -- Consistency checking
      • threadutil.pl -- Interactive thread utilities
      • strings.pl
      • nb_set.pl -- Non-backtrackable sets
      • thread.pl
      • prolog_profile.pl
      • help.pl
      • edit.pl
      • increval.pl -- Incremental dynamic predicate modification
      • listing.pl
      • prolog_trace.pl -- Print access to predicates
      • ansi_term.pl
      • optparse.pl
      • prolog_debug.pl -- User level debugging tools
      • hashtable.pl -- Hash tables
      • oset.pl -- Ordered set manipulation
      • prolog_history.pl -- Per-directory persistent commandline history
      • prolog_config.pl -- Provide configuration information
      • prolog_codewalk.pl
      • prolog_metainference.pl
      • intercept.pl -- Intercept and signal interface
      • system.pl -- System utilities
      • exceptions.pl
      • explain.pl
      • prolog_versions.pl -- Demand specific (Prolog) versions
      • ctypes.pl
      • shell.pl
      • prolog_wrap.pl
      • macros.pl
      • streams.pl -- Manage Prolog streams
      • prolog_jiti.pl -- Just In Time Indexing (JITI) utilities
      • fastrw.pl
      • quintus.pl -- Quintus compatibility
      • rwlocks.pl
      • files.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.