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