Compute a hash value from a 4GL string