to_roman (no extension used)

as you can guess, this is my version of arabic to roman numeral converter. it’s implemented using a recursive function, so there is no loop going over a roman conversion table. you can see how it avoids the loop by calling itself but with “one less” parameter at each time. the only loop i used is when the program detects that there are three (3) 1000’s in 3000, then repeats “M” three times in the loop, etc.

here’s the aia
to_roman.aia (3.5 KB)