[svn:parrot] r38840 - trunk/docs/book
coke at svn.parrot.org
coke at svn.parrot.org
Sat May 16 20:42:54 UTC 2009
Author: coke
Date: Sat May 16 20:42:54 2009
New Revision: 38840
URL: https://trac.parrot.org/parrot/changeset/38840
Log:
[docs] the syntax described here is invalid.
Modified:
trunk/docs/book/ch03_pir.pod
Modified: trunk/docs/book/ch03_pir.pod
==============================================================================
--- trunk/docs/book/ch03_pir.pod Sat May 16 20:41:54 2009 (r38839)
+++ trunk/docs/book/ch03_pir.pod Sat May 16 20:42:54 2009 (r38840)
@@ -705,14 +705,14 @@
The C<x> instruction repeats a string a specified number of times:
-=begin PIR_FRAGMENT
+=begin PIR_FRAGMENT_INVALID
$S0 = "a"
$S1 = $S0 x 5
print $S1 # prints "aaaaa"
print "\n"
-=end PIR_FRAGMENT
+=end PIR_FRAGMENT_INVALID
In this example, C<x> generates a new string with "a" repeated five
times and stores it in C<$S1>.
More information about the parrot-commits
mailing list