User Tools

Site Tools


at:tutorial:symbiosis

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
at:tutorial:symbiosis [2007/07/05 09:57] jdedeckerat:tutorial:symbiosis [2007/07/05 10:00] jdedecker
Line 81: Line 81:
  
 def showSymbiosis() { def showSymbiosis() {
- def javaDemo := SymbiosisDemo.new();+  def javaDemo := SymbiosisDemo.new();
   
- def atObject := object: { +  def atObject := object: { 
- def ping() {  +    def ping() {  
-          system.println("ping!");  +      system.println("ping!");  
-          javaDemo.run2(self);  +      javaDemo.run2(self);  
-        }; +    }; 
- def pong() {  +    def pong() {  
-          system.println("pong!");  +      system.println("pong!");  
-          42  +      42  
-        +    
- };+  };
   
- javaDemo.run(atObject);+  javaDemo.run(atObject);
 }; };
  
at/tutorial/symbiosis.txt · Last modified: 2013/05/17 20:25 by tvcutsem