The following are resources that can be useful when writing program texts.
Online version of Merriam-Webster's Dictionary. It is easily searchable.
This is the source of the capitalization rules. It also contains a lot of other useful information.