|
Post by Roger Cabo on Dec 21, 2023 16:20:55 GMT 1
Hi everyone,
I have a issue to start a code by F5. I got an Array Bound Error. in my Win10 machine using the latest GB32 V257.
Edit:
I found a solution..
I move the declarations directly before the Loop.. and it seems to work.. Did you have the same issue and and be able to solve with the changes?
OpenW 1, 0, 0, _X, _Y, ~15 Set Win1RT = D2GetRT() ' DC render target
Do Sleep Until Me Is Nothing
Thanks!
|
|
|
Post by (X) on Dec 21, 2023 16:54:50 GMT 1
Yup.
OpenW 1... will trigger a Paint event in this case Win_1_Paint()
Sub Win_1_Paint Win1Render EndSub
Which calls Win1Render, which will try to use arrays that have not been defined yet.
|
|
|
Post by Roger Cabo on Dec 21, 2023 18:12:03 GMT 1
Yup. OpenW 1... will trigger a Paint event in this case Win_1_Paint() Sub Win_1_Paint Win1Render EndSub Which calls Win1Render, which will try to use arrays that have not been defined yet. YES!!! Thank you!
|
|