User Tools


Function SIMPLE-CONDITION-FORMAT-CONTROL, SIMPLE-CONDITION-FORMAT-ARGUMENTS

Syntax

  • simple-condition-format-control conditionformat-control
  • simple-condition-format-arguments conditionformat-arguments

Arguments and Values

Description

simple-condition-format-control returns the format control needed to process the condition's format arguments.

simple-condition-format-arguments returns a list of format arguments needed to process the condition's format control.

Examples

(defparameter *foo* (make-condition 'simple-condition :format-control "Hi ~S" :format-arguments '(ho)))

*FOO*

(apply #'format nil (simple-condition-format-control *foo*) (simple-condition-format-arguments *foo*))

"Hi HO"

Side Effects

None.

Affected By

None.

Exceptional Situations

None.

See Also

Condition Type SIMPLE-CONDITION, {\secref\ConditionSystemConcepts}

Notes

None.

\issue{FORMAT-STRING-ARGUMENTS:SPECIFY}