There are some issues with your code:
First of all, the function is named length, not lenght (and it took me a loong time to learn that length and width are written that way and not lenght and widht...)
Then, you're using gt to compare numbers. While that's technically OK, it will give you surprising results if you expect 1000 to be larger than 16.
If your code "dies", it's always instructive to tell us the error message.
In reply to Re: lenght ()Decapitated?
by Corion
in thread lenght ()Decapitated?
by RobinVossen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |