Update page 'Future AerScript Versions'
@@ -12,7 +12,7 @@ A right associative \** operator can be added to support exponentiation, along w
|
||||
printf("2 ** 3 = %d\n", 2 ** 3); // 8
|
||||
printf("2 ** 3 ** 2 = %d\n", 2 ** 3 ** 2); // 512
|
||||
|
||||
###
|
||||
### AUTO keyword
|
||||
Variables that are declared at method/closure scope could have an implicit type ___auto___. An implicitly typed local variable should be strongly typed just as if programmer had declared the type himself, but the compiler determines the type.
|
||||
|
||||
auto $var = 'text'; // Implicitly typed string
|
||||
|
Reference in New Issue
Block a user