next up previous
Next: 13.14 Loading Rules. Up: 13 Rules. Previous: 13.12 Setting the rule

13.13 Repeating the last rule.

If ``p'' is selected in #13.6, the last rule that was set (for a given neighbourhood size, k) is repeated by automatically loading a ``last[k].rul'' file. The file was automatically saved when the last rule was set, and named according to neighbourhood size, k (for example, ``last5.rul'' for k=5). In the case of a rule mix where a sequence of rules was entered by hand, the previously entered rule is repeated. In the case of a neighbourhood mix and a previous rule with a different neighbourhood, a ``last[k] rule'' file is loaded (for a totalistic code a random code is assigned). The repeated rule is displayed in decimal (for n<=5), in hex and as the rule table bit pattern, and in the rule window.