CajunCenturion:
I think I'll give that a try in the morning.
strongm:
Thanks for the link and your suggestions.
TheVampire:
I keep the data in memory because its used in a later procedure to calculate expected deal values and percentiles by conterparty. I could save each element to our...
TheVampire:
I'll check MSDN out when I'm finished here. Not all the elements will have a value. I guess I should explain what the structure represents:
1st Dimension : Calc Type (End of Quarter or End of Year)
2nd Dimension : Scenario number (5100 simulations)
3rd Dimension : Year
4th...
johnwm:
The data structure has worked flawlessly up to today. The last dimension (108) is the number of deals in a certain portfolio that is being evaluated. Thats the most deals I've ever seen in this particular portfolio, but there could certainly be many, many more depending on trading...
Certainly not every value in the array will be large enough to warrent the double type, but the possibility of such a large number does exist. If I dim the array as single and try to store a 'double sized' number during the procedure, I'll get an overflow error.... but I guess its better to...
I have an array that needs to be dimensioned to the following specifications:
Dim m_dMTMDeals() as Double
.
.
.
ReDim m_dMTMDeals(1 To 2, 1 To 5100, 2003 To 2022, 1 To 12, 1 to 108)
The numbers above are represented as variables in the actual code. When VB tries to redim the variable, I get...
I am reading a multi-key indexed file with manual record locking. I am testing the program against itself and I tried acessing the same record from two different copies. Program1 reads and locks the record successfully. Program2 tries to read the record, and returns a file status 9 660. I've...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.