with ( ParticularObject ) { |
// any old statements É |
} |
Within the curly braces, ParticularObject is the default object for any property or method that does not specify a parent object |
with (Math) { // An example |
area = PI*r*r; // Math property PI |
x = r*cos(theta); // Math method cos |
y = r*sin(theta); // Math method sin |
} |