Dangerous code, i run it 3 times and find 3 thinbasic.exe in memory
i have used this BAT file to kill the exe's in windows xp
but the code is interestingTASKLIST /FI "IMAGENAME eq thinbasic.exe" tskill thinbasic pause
Hi,
I'm wondering
why the second part isn't ending the loop ?Dim ok as Boolean = %FALSE Do ok = %TRUE loop until ok = %TRUE msgbox 0, "Passed" ok = %FALSE Do ok = %TRUE loop until ok MsgBox 0,"done"
ThinBasic 1.11.6.0 ALPHA - Windows 8.1 x64
Dangerous code, i run it 3 times and find 3 thinbasic.exe in memory
i have used this BAT file to kill the exe's in windows xp
but the code is interestingTASKLIST /FI "IMAGENAME eq thinbasic.exe" tskill thinbasic pause
Hi Primo, the second loop should exit after the first pass because "ok" as an expression resolves to %TRUE.
You can use the red square of thinAir's toolbar to stop thinBasic's process.
ThinBasic 1.11.6.0 ALPHA - Windows 8.1 x64
Hi,
thanks a lot for reporting. I think we found the reason, will be fixed in next thinBASIC.
Petr
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
Thanks Petr for fixing it.
Can someone test if now it is working fine?
Attached new thinCore.dll
Please copy it into you \thinBasic\ path and try script.
Thanks
Eros
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Bookmarks