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