Your example looks more like the ScriptBasic Version. It's interesting how the same code generates different results.

I would like to see a thinBasic version if anyone is willing to give it a try.