Source dump for '': [ 00001 class CoffeeMaker 00002 { 00003 init( aCoffee) 00004 { 00005 this.coffee = aCoffee; 00006 } 00007 00008 brew() 00009 { 00010 print 00011 'Enjoy your cup of ' 00012 + this.coffee 00013 ; 00014 } 00015 } 00016 00017 class EspressoMaker < CoffeeMaker 00018 { 00019 init( aCoffee, work) 00020 { 00021 super.init( 00022 'espresso ' 00023 + aCoffee 00024 + ', and now ... you will need to ' 00025 + work 00026 + ' (and you will also need single quotes within strings)' 00027 ); 00028 } 00029 } 00030 00031 var maker = EspressoMaker( 'with sugar', 'clean up the interpreter a bit ...'); 00032 00033 fn doit() 00034 { 00035 maker.brew(); 00036 } 00037 00038 doit(); ] >> 'Enjoy your cup of espresso with sugar, and now ... you will need to clean up the interpreter a bit ... (and you will also need single quotes within strings)' >> ok >> no leaked memory!