Contents
Syntax
The syntax for
add_scope() add_scope(bool)
@add_scope() @add_scope(bool)
Description
The
- takes zero parameters and returns whether scope is added by default; or
- takes a single boolean parameter specifying whether to add scope by default (default value is
1 ).
f++ example
Example of
add_scope(0) console(add_scope()) for(int i=0; i<2000000; i+=1){}
n++ example
Example of
@add_scope(0) @console(add_scope()) @for{!o}(int i=0; i<2000000; i+=1){}