Simple visitors counter

Misha v.3 [December 19, 2002]

^if(!def $i_file_name){^throw[counter;file_name not specified]}
#end @counter[]

How to call:


This operator works the same way as operator counter provided by Parser v.2: "The Operator returns the value of counter stored in file and then increases its value by 1. If specified file doesn't exist, it will be created and the value in it will be set to 0."

If Parser doesn't have enough rights to save the file, there will be a fatal error. If you don't want the operator to behave like this, edit the code.