rev 549 - trunk/docs/tutorial
SVN User <[email protected]> Tue, 25 May 2004 13:39:48 -0400
| Newsgroups | gmane.comp.lang.prothon.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: mark
Date: 2004-05-25 13:39:45 -0400 (Tue, 25 May 2004)
New Revision: 549
Modified:
trunk/docs/tutorial/tutorial3.htm
trunk/docs/tutorial/tutorial4.htm
Log:
fixed some XXX's in tutorial, one still remains
Modified: trunk/docs/tutorial/tutorial3.htm
===================================================================
--- trunk/docs/tutorial/tutorial3.htm 2004-05-25 17:14:15 UTC (rev 548)
+++ trunk/docs/tutorial/tutorial3.htm 2004-05-25 17:39:45 UTC (rev 549)
@@ -207,9 +207,9 @@
<pre>>>>Len("abc") # number of chars in string
3
>>>"abc".upper() # convert string to uppercase
-XXX
+ABC
>>>"ABC".lower() # converts string to lowercase
-XXX
+abc
>>>"abc def".capitalize() # capitalize string
Abc def
>>>"abc def".capWords() # capitalize words in string
Modified: trunk/docs/tutorial/tutorial4.htm
===================================================================
--- trunk/docs/tutorial/tutorial4.htm 2004-05-25 17:14:15 UTC (rev 548)
+++ trunk/docs/tutorial/tutorial4.htm 2004-05-25 17:39:45 UTC (rev 549)
@@ -105,7 +105,7 @@
<pre>>>> list=[1,4,3,5,2,0]
[1, 4, 3, 5, 2, 0]
>>> Len(list) # Len is the same as for strings
-XXX
+6
>>> list.sort!() # fast sort even on big lists
[0, 1, 2, 3, 4, 5] # changes list and returns list
>>> list.min()