sqr(x)

x = The number you want squared [multiplied by itself]

 

This function takes x and squares it.  It can be any real positive number, even a variable that has a real number value, but no letters.

 

Example #1:

show_message(sqr(100));

 

Example #2:

number = get_integer("type in number","");

number = sqr(number);

show_message(string(number));

 

Note that if you just put sqr(number) it wont do anything, because you didn't tell it store this value in a variable that's why i put number = sqr(number).

 

cityscape - Revision #1