samples/bumens.yml2
author heck <heck@pep.foundation>
Thu, 04 Feb 2021 01:41:09 +0100
changeset 71 adb8b1a1d517
parent 0 76005e62091d
permissions -rw-r--r--
used a perl script[0] to convert .hgignore to .gitigore

[0] https://github.com/devzendo/hgignore-to-gitignore
0
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     1
function "fak" {
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     2
    param "n";
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     3
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     4
    choose {
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     5
        when "n=0" value 1
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     6
        otherwise value "$n * fak($n-1)";
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     7
    }
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     8
}
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     9