Memory issue ?

Started by Zlatko Vid, December 21, 2022, 08:21:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Zlatko Vid

I get this memory error
anyone maybe have idea what might cause this mem leak
or block
  •  

Charles Pegge

Hi Aurel,

It seems your program is trying to access unallocated memory. It could be going outside the bounds of an array, or a string, where maybe an index is too large or negative.

Is this a fractal?

Zlatko Vid

Yes it is aa fractal ..well known as Pythagora Tree
i try to made in my interpreter ...
it working as you may see from image
but on the end i get this ugly error ...

i think that you have right ...
it looks that my array index is to small or as you say negative ...
also Charles ... i try to compile my interpreter in SC 0.40 version and get whole bunch of strange
errors ...is that something connected with RTL32.inc

which is latest version on o2
  •  


Zlatko Vid

Thanks Charles on a link
i will try to compile it in latest ver
yes ..you have a right ...index become negative
      well i must probably prevent this ..but program jumping all arround arrays

thanks again  :)

and all best for Holidays!
Aurel
  •