The funny thing is that I was in the process of starting a new Visual Designer project in
WinFBE 2.1.7 when, after several successful test compiles, during the processing of 3 nested For loops, WinFBE locked up, the screen went blank for several seconds then WinFBE crashed. At the same time, an unrelated app that was running also crashed. I say unrelated but it is a WinFBE project, just not the project in the editor during the crash.
Collateral damage: the 'unrelated app' and the entire WinFBE_Suite folder were also deleted from my hard drive and the WinFBE project is blank.
Here is the code:
Function cp_init() As Boolean
For R As UByte = 0 To 255
For G As UByte = 0 To 255
For B As UByte = 0 To 255
? r, g, b
Next B
Next G
Next R
Function = True
End Function
Something similar to this happened before but I can't find the original post.
UPDATE: It turns out that the use of UByte is most likely the problem. In the above code, the For loops are forever loops. Change to any other numeric type (Integer, UShort...) and the code works properly (if not slowly because of the print to console)