rev 299 - trunk/pr

SVN User <[email protected]>
Newsgroups gmane.comp.lang.prothon.cvs
Message-ID <[email protected]>
Author: mark
Date: 2004-04-07 21:33:33 -0400 (Wed, 07 Apr 2004)
New Revision: 299

Modified:
   trunk/pr/meow.pr
Log:
cleaned up meow.pr

Modified: trunk/pr/meow.pr
===================================================================
--- trunk/pr/meow.pr	2004-04-08 01:17:15 UTC (rev 298)
+++ trunk/pr/meow.pr	2004-04-08 01:33:33 UTC (rev 299)
@@ -12,10 +12,7 @@
 with Mammal:
    def .describe():
           print "I am a mammal."
-#          f = Animal.describe		# any of these will work
-#          f()						# super call type 1
-          Animal^describe()			# super call type 2
-#          ^describe()				# super call type 3 
+          Animal^describe()			# directed super call
           .make_noise()
    def .make_noise():
      print "I make mammal noise."
@@ -24,10 +21,7 @@
 with Cat:
      def .describe():
           print "I am a cat."
-          f = Mammal.describe		# any of these will work
-          f()						# super call type 1
-#          Mammal^describe()		# super call type 2
-#         ^describe()				# super call type 3 
+          ^describe()				# non-directed super call
           .make_noise()
      def .make_noise():
        print "meow"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.