title: Compile Error "Expected:end of statement in vb6"
body: <p>When i define an initialize a variable i get the compile time error as "Expected:End of statement". The code is :</p>
  
  <pre><code>Dim i as integer=1
  </code></pre>