Description
Ranges can have a size larger than the allowed range for Integers. This can be used to proof that, oppsed to what some tests may claim, TScripts for loops are turing complete (at least in the only tscript runtime).
To Reproduce
print(Range(-2, 2147483646).size());
Arrays and strings however are safe(r) since it would be impracticable to create one of them with a size larger than 2147483647. They are also respectivly bounded by 2^32 and 2^53 -1.
Description
Ranges can have a size larger than the allowed range for Integers. This can be used to proof that, oppsed to what some tests may claim, TScripts for loops are turing complete (at least in the only tscript runtime).
To Reproduce
Arrays and strings however are safe(r) since it would be impracticable to create one of them with a size larger than 2147483647. They are also respectivly bounded by 2^32 and 2^53 -1.