Execution of the script can be terminated by using the return command. Please see Example Scripts for an example.
The Shape Script feature does not support looping constructs.
C-style comments are supported. For example:
// C Style Single Line comment
/* Multi Line
comment supported */
Can I apply a Shapescript without using Stereotypes?