title: What is the value from AsInteger in delphi when dataset value is null?
body: <p>I have this code in delphi:</p>
  
  <pre><code>var_beg := MyQry.FieldByName('x_beg').AsInteger;
  var_end := MyQry.FieldByName('x_end').AsInteger;
  x_segment := copy(name, var_beg, var_end - var_beg);
  </code></pre>
  
  <p>Now, in the table the columns <code>x_beg</code> and <code>x_end</code> are both nullable, and contain null values on some rows. My question is what values do the variables <code>var_beg</code> and <code>var_end</code> get when the columns <code>x_beg</code> and <code>x_end</code> are null?</p>