Original source downloaded from Vintage Basic
Converted to D by Bastiaan Veelo.
The Basic original required words to be exactly five letters in length for the program to behave correctly. This version does not replicate that limitation, and the test for that requirement is commented out.
Assuming the reference dmd compiler:
dmd -dip1000 -run word.dOther compilers also exist.