code: private Object getValue(FieldType field, byte[] block)
     {
        Object result = null;
  
        switch (block[0])
        {
           case 0x07: // Field
           {
              result = getFieldType(block);
              break;
           }
  
           case 0x01: // Constant value
           {
              result = getConstantValue(field, block);
              break;
           }
  
           case 0x00: // Prompt
           {
              result = getPromptValue(field, block);
              break;
           }
        }
  
        return result;
     }
docs: Retrieves the value component of a criteria expression.
  
  @param field field type
  @param block block data
  @return field value