29.07.2012, 21:02
Today I learned that only class-specifiers('stock','const','static','public') that cannot mix together are 'public' and 'static', thus following are all correct in any combination(Note: only one class-specifier can be defined for one declarator)
Today I learned that you can set native's index arbitrarily like this
This will produce following(in assembly code):
Note that integer following equal-sign must be negative,
This is invalid:
Another valid example:
The native's index would now be -123
Код:
new stock const static variable; new stock const public variable; new stock const const static variable; // error, 'const' class-specifier defined twice for one declarator.
Код:
native func() = -0;
Код:
sysreq.c 0
This is invalid:
Код:
native func() = 11; // error
Код:
native func() = -123;