title: Two types of VBScript?
body: <p>So recently, I had a friend teach me some VBScript. This is the following code.</p>
  
  <pre class="lang-vb prettyprint-override"><code>help = MsgBox("Click on 'Yes'",vbYesNoCancel, "Orders")
  WScript.Echo help
  </code></pre>
  
  <p>The file is called <code>File.vbs</code> and as far as I know <code>.vbs</code> stands for Visual Basic Script file. But recently, I've been searching on the internet and find VBS to be another thing. It looks like <code>html</code> or <code>xml</code>. Something like this.</p>
  
  <pre><code>&lt;% Option Explicit
   %&gt;&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
       "http://www.w3.org/TR/html4/loose.dtd"&gt;
   &lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;VBScript Example&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;div&gt;&lt;% 
          ' Grab current time from Now() function.
                  ' An '=' sign occurring after a context switch (&lt;%) is shorthand 
                  ' for a call to the Write() method of the Response object.
          Dim timeValue = Now %&gt;
          The time, in 24-hour format, is 
                  &lt;%=Hour(timeValue)%&gt;:&lt;%=Minute(timeValue)%&gt;:&lt;%=Second(timeValue)%&gt;.
          &lt;/div&gt;
      &lt;/body&gt;
   &lt;/html&gt;
  </code></pre>
  
  <p>Can someone explain if I'm looking at the correct language or something?
  Thanks in advance!</p>