|
对parval(),属性指向很困扰
$ {: z' `" n+ M/ ^ @& D- V比如: baynumber = parval(2),求注解下,为什么是(2),
0 U0 k7 v' i q2 i% h) r, D. v0 j- E: B. }2 v
如果levelnuber=????? 求注解。。。。( B' \: C( W( \" l0 E6 g) }
For developer use. This command is used inside a function that is called by the nodefunction() command. It returns the parameter passed to nodefunction specified by index as a number. The first additional parameter passed to nodefunction() is parameter 1, the second is parameter 2, etc. Parameters can also be retrieved using parnode() and parstr() for casting them as a treenode and string respectively. % f1 g2 u" f5 N
Example: double passedval = parval(3);& @8 V* X- ]3 b( d! y
( J5 ]4 b5 U9 W4 A6 G: h: M# VThis sets passedval equal to the number that was passed to nodefunction() as parameter 3. |
|