rev 266 - in trunk: include/prothon pr

SVN User <[email protected]>
Newsgroups gmane.comp.lang.prothon.cvs
Message-ID <[email protected]>
Author: mark
Date: 2004-04-03 01:15:20 -0500 (Sat, 03 Apr 2004)
New Revision: 266

Modified:
   trunk/include/prothon/prothon.h
   trunk/pr/meow.pr
Log:
touched prothon.h

Modified: trunk/include/prothon/prothon.h
===================================================================
--- trunk/include/prothon/prothon.h	2004-04-03 06:03:50 UTC (rev 265)
+++ trunk/include/prothon/prothon.h	2004-04-03 06:15:20 UTC (rev 266)
@@ -1,6 +1,6 @@
 /* ====================================================================
  * The Prothon License Agreement, Version 1.1  
- *
+ * 
  * Copyright (c) 2004 Hahn Creative Applications, http://hahnca.com.
  * All rights reserved. 
  *

Modified: trunk/pr/meow.pr
===================================================================
--- trunk/pr/meow.pr	2004-04-03 06:03:50 UTC (rev 265)
+++ trunk/pr/meow.pr	2004-04-03 06:15:20 UTC (rev 266)
@@ -2,19 +2,20 @@
 
 Mammal = Object()
 with Mammal:
-	def .describe():
-		print "I am a mammal."
-		.make_noise()
-	def .make_noise():
-		print "I make some kind of noise."
-
+   def .describe():
+       print "I am a mammal."
+       .make_noise()
+   def .make_noise():
+     print "I make some kind of noise."
+   
 Cat = Mammal()
 with Cat:
-	def .describe():
-		print "I am a cat."
-		^describe()         #  <--  super call
-	def .make_noise():
-		print "I go meow."
+     def .describe():
+          print "I am a cat."
+          ^describe()         #  <--  super call
+     def .make_noise():
+       print "I go meow.",
+        "loudly!!!"
 
 c = Cat()
 c.describe()
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.