LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default Saving / Reading dynamic arrays to / from disk

In message
at 17:55:16 on Fri, 14 Sep 2007, Mike
S wrote
In message
at 20:55:27 on Thu, 13 Sep 2007, Mike
wrote
Sorry I was lying. The array must have been initialised when I was
playing around with it

In my example of reading liNumShares (whose value is 102), and then
using ReDim goShares(liNumShares), this causes the memory usage to go
up. However if I manually RedDim goShares(102) this works fine.

Very strange indeed

I think I've found the solution to this now

Soln to upgrade to patch to SP2 wasn't correct. I changed my num vars
from Long's to Integer's even though UBound returns a type long - this
seems to be what does the trick, although I haven't tried it enough
times to give me confidence yet
--
Mike News


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving an array or class to disk Wired Hosting News Excel Programming 0 March 24th 06 10:54 PM
Saving onto Floppy Disk woodbunny Excel Worksheet Functions 1 August 17th 05 03:43 PM
Saving to disk Karen Excel Discussion (Misc queries) 2 January 7th 05 07:13 PM
Saving embedded object to disk cbhanes Excel Programming 0 May 10th 04 04:02 PM
Picture in Web Page (saving to disk) S. Stilwell Excel Programming 0 July 14th 03 11:29 PM


All times are GMT +1. The time now is 03:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"