Type Statement
Format
with (name omitted object) (
Processing
)
CommentaryExtends the scope chain for a statement.
Object name and description specified can be omitted. Can also be nested.
Sample code - QC 2 JavaScript
with (Math) (
outputs [0] = PI;
)
Sample code - QC 3 JavaScript
function (__number out) main ()
{
var result = new Object();
var out = new Number();
var x = out;
with(Math)
var x = PI;
{
result.out = x;
}
return result;
}