Nice TWiki > Doc > MethcallBeginnerExample (r1.5 vs. r1.6) TWiki webs:
Dev | Doc | Main | TWiki | Sandbox
Doc . { Changes | Index | Search | Go }
 <<O>>  Difference Topic MethcallBeginnerExample (r1.6 - 10 Jan 2004 - IsaacGouy)
Changed:
<
<

for(var i=1; i<n; i++) val = ntoggle.activate().value(); println( ntoggle.activate().value() );

>
>

for(var i=1; i<n; i++) val = ntoggle.activate.value; println( ntoggle.activate.value );

Added:
>
>

println( toggle.activate().value() ); println( ntoggle.activate.value ); When there are no parameters we don't need to use () in method calls (we do need to use them in constructors).

Added:
>
>


Topic MethcallBeginnerExample . { View | Diffs | r1.6 | > | r1.5 | > | r1.4 | More }
Revision r1.5 - 10 Jan 2004 - 15:40 GMT - IsaacGouy
Revision r1.6 - 10 Jan 2004 - 19:04 GMT - IsaacGouy
Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback.