gettingstarted
[Top] [All Lists]

RE: mod computation in RB2005/Win

To: "'Getting Started'" <gettingstarted at lists dot realsoftware dot com>
Subject: RE: mod computation in RB2005/Win
From: "RBNUBE" <rbnube at mabenterprises dot com>
Date: Sun, 27 Nov 2005 21:20:17 -0500
Delivered-to: gettingstarted at lists dot realsoftware dot com
Importance: Normal
Keywords: rb-gettingstarted
Interesting...

This works fine from the IDE, but not when compiled to an executable.

Try this instead:

  dim i, a, b as integer
  dim s as String
  
  for i = 0 to 10
    a = 13 + ((i*7) + (i*17)) + ((i*41) + (i mod 3)) + ((i mod 11) + (i mod
19))
    b = (a mod 52)
    s = s + str(i) + ", a = " + str(a) + ", b = " + str(b) + EndOfLine
  next
  
  MsgBox s

Is it not possible for you to run the remote debugger?

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>