Sqrt() operation in Maestro Scripting Language

I need do sqrt() operation in scripting language. Is it possible?


The Maestro does not have a built-in command that takes the square root of an integer. The maximum value an integer in the Maestro can have is 32767, which means the maximum square root would be 181. You could write a routine that increases from 1 to 181, computes the squares of those numbers, and stops as soon as the square is larger than the input. You might also try searching the Internet for ways to iteratively estimate square roots. Methods written in FORTH might be particularly useful, since the Maestro scripting language is very similar to FORTH.