Small Basic Forum
FCInstances Bug - Printable Version

+- Small Basic Forum (https://litdev.uk/mybb)
+-- Forum: Small Basic (https://litdev.uk/mybb/forumdisplay.php?fid=1)
+--- Forum: Extensions (https://litdev.uk/mybb/forumdisplay.php?fid=3)
+--- Thread: FCInstances Bug (/showthread.php?tid=59)



FCInstances Bug - z-s - 05-02-2024

In The Extension FCInstances There Is A Bug Once I Tried To Use It To Add More Graphics Windows It Was Unstoppable Like A Virus It Made 100 Windows And Was Making More Then I Have To ShutDown The PC.
Don't Know Was Any Coding Fault In It But I Am Thinking To Try Again But It Could Be Dangerous Confused


RE: FCInstances Bug - litdev - 05-02-2024

Sounds like you had a recursive function - like a method that creates a window and calls itself.

To have multiple GraphicsWindows, look at the other-samples/LDWindows.sb that comes with LitDev extension download as well as FC that does it slightly differently.