:SHOW-CODE

Purpose

Prints the compiled code of a rule in a nicely-formatted output.

Parameters

rule
The name of a rule to be printed. Rules are assigned default names of the form Rule1, Rule2, etc.

Examples

  (:SHOW-CODE Rule1)
  (:SHOW-CODE Rule7)
  (:SHOW-CODE Rule3-002)

Success criteria

Always succeeds.

Failure criteria

Never fails.

Notes

Continuations are also rules that are named as shown above, with the rule name, a hyphen, and the continuation number, which corresponds to the index of the antecedent clause where the continuation starts.

Related commands


Back to...

Algernon commands
Algernon Documentation Central
Algernon home page
Author: Micheal Hewett
Last Updated: Thursday, June 06, 2005