Need Help with Registry Read On - Registry.txt (0/1)

I have enclosed a simple set of procedures in an attachment to
basically explain how to CREATE, LOAD and UPDATE the Registry Files

Hope they will help some people who are having trouble with it.

Does anybody know how to check a value ie (is it a String or Integer)