Portable text-based ansi version of RCOM.
By R.Hasaranga (c) 2018

Tested with gcc v4.6.3
