Author Topic: Bug in 2.37.4  (Read 8411 times)

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7725
    • View Profile
Bug in 2.37.4
« Reply #15 on: November 14, 2005, 03:06:08 PM »
I learned something helping Zelos with his project yesterday.

VB is not deterministic.

Code that runs fine one one computer will crash on another.  Generally these sorts of crashes are people doing things that are not implicitly allowed.

For instance:

Dim a as long

a = 5 + "5"

It seems sometimes this will give an error and othertimes it won't.  A better solution in to explicitly change the "5" to a number:

a = 5 + val("5")

There are other errors like this.  Just some food for thought.