Get the cardinal value for key parameter with zero as default value
class function getValue(key: string; default: cardinal = 0): integer