Missing comma in the following sentence:
If the variable exists but does not have a numeric value (or has no
value) then the default is 10
It should read:
If the variable exists but does not have a numeric value (or has no
value)*,* then the default is 10
