Written by MikhailGassanenko for TechnoForth.