title: VB Script in Wine doesn't return values for RND function
body: <p>I'm trying to run below vbscript in Linux using Wine, but it doesn't work. Other vbscript functions are working as expected.</p>
  <p>Wine Version : wine-5.0.3 (Ubuntu 5.0.3-3)
  Command : wine cscript ./test_rnd.vbs</p>
  <p>VBS:</p>
  <pre><code>   On Error Resume Next
  WScript.Echo &quot;Before Rnd&quot;
  
  Rnd -1
  
  WScript.Echo &quot;After Rnd&quot;
  
  If Err.Number &lt;&gt; 0 Then
    WScript.Echo &quot;Error : &quot; &amp; Err.Number &amp; &quot;: &quot; &amp; Err.Description
  End If
  </code></pre>
  <p>OutPut using Wine:</p>
  <p><a href="https://i.stack.imgur.com/t9orh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t9orh.png" alt="enter image description here" /></a></p>
  <p>This script is working fine in Windows.</p>
  <p>Do i need to install any other wine dependency ? if you have any alternative solution to execute VBS in Linux please mention.</p>