20050829, 00:20  #1 
Aug 2005
2 Posts 
VIsual Basic Implementation Problem
Hello,
I have been trying to implement twister into a VBA app. I am using the version by Pablo Mariano Ronchi http://www.math.sci.hiroshimau.ac.j...37arVBcode.txt WHat happens is that when pasting the code into a VBA module, VBA changes it. These constant declarations are written as: Const MATRIX_A As Long = &H9908B0DF '/* constant vector a */ Const UPPER_MASK As Long = &H80000000 '/* most significant wr bits */ But VBA changes them to: Const MATRIX_A As Long = &H66F74F21 '/* constant vector a */ Const UPPER_MASK As Long = &H80000000 '/* most significant wr bits */ And, then they don't work in excel 2003 (I'm developing in excel 2004 OS X). I'm thinking I need to make them unsigned longs, but how in VBA? thanks! ANdy 
20050829, 01:29  #2 
May 2005
Naperville, IL, USA
2^{2}×7^{2} Posts 
Would this help? Microsoft KB Article

20050829, 01:35  #3  
Aug 2005
2_{10} Posts 
Quote:
ANdy 

Thread Tools  
Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
GMPECM with Visual Studio 2015  Brian Gladman  GMPECM  0  20160929 11:33 
Visual Studio (yech)  R.D. Silverman  Programming  12  20150907 00:54 
Using YAFU in Visual Studio  queremendi  YAFU  12  20150709 15:40 
Basic ECM Implementation now working  Sam Kennedy  Factoring  4  20121103 17:59 
Visual Basic?  Lethe  Programming  5  20050421 01:10 