AlbertR Senior Member
 Joined: 29/05/2025 Location: GermanyPosts: 114 |
| Posted: 05:47am 20 Nov 2026 |
Copy link to clipboard |
 Print this post |
|
Ah,
glad it's working now—or maybe not. It actually always drives me crazy when I can't reproduce these problems, just so I can figure out what caused them. On the one hand, if it was my mistake, I want to avoid making the same one again; on the other hand, I want to be able to give Peter a clear description of the problem.
And we got one with the V6.03! With the program
Type struct rolllade AufZeit As integer AbZeit As integer ort As integer End Type
Dim rolllade(5050) As Struct rolllade
this produces endless "Not enough Heap memory" but it's fixed in version 7.00
Albert |
Nordhesse Newbie
 Joined: 18/11/2026 Location: GermanyPosts: 3 |
| Posted: 02:23pm 20 Nov 2026 |
Copy link to clipboard |
 Print this post |
|
Hi Albert, hi Karlelch,
I reconstructed the faulty version again. Here you get the „not enough nemory“ error.
TYPE StructRolllade AufZeit AS INTEGER AbZeit AS INTEGER Ort AS STRING LENGTH 19 END TYPE
DIM Rolllade(9) AS StructRolllade = (21, 20, "Buero", 32, 31, "Schlafzimmer, Sued", 32, 31, "Schlafzimmer, West", 32, 31, "Kueche, Tuer", 23, 22, "Kueche, Fenster", 32, 31, "Wohnzimmer, Tuer", 33, 31, "Wohnzimmer, Sued", 31, 30, "Wohnzimmer, West", 35, 31, "Kinderzimmer, Sued", 23, 23, "Kinderzimmer, West")
In this way, It's probably not possible to transfer such a large amount of data. Now I use READ and DATA to fill the structures.
Thank you for your hint to V5.3. Even though I only need an array of 10 structures, I will change to V7.0. Guido |