[svn:parrot] r39608 - trunk/docs/book/pir

allison at svn.parrot.org allison at svn.parrot.org
Wed Jun 17 04:52:39 UTC 2009


Author: allison
Date: Wed Jun 17 04:52:39 2009
New Revision: 39608
URL: https://trac.parrot.org/parrot/changeset/39608

Log:
[book] Fixing example test failures in chapter 4.

Modified:
   trunk/docs/book/pir/ch04_variables.pod

Modified: trunk/docs/book/pir/ch04_variables.pod
==============================================================================
--- trunk/docs/book/pir/ch04_variables.pod	Wed Jun 17 04:44:49 2009	(r39607)
+++ trunk/docs/book/pir/ch04_variables.pod	Wed Jun 17 04:52:39 2009	(r39608)
@@ -1309,19 +1309,15 @@
 two constants have no effect on associative array iterators, as their elements
 are unordered.
 
-Load the iterator constants with the C<.include> directive to include the file
-F<iterator.pasm>.
+Load the iterator constants with the C<.include> directive to include
+the file F<iterator.pasm>. To use them, set the iterator PMC to the
+value of the constant:
 
 =begin PIR_FRAGMENT
 
       .include "iterator.pasm"
 
-=end PIR_FRAGMENT
-
-To use the iterator constants, set the iterator PMC to the value of the
-constant:
-
-=begin PIR_FRAGMENT
+      # ...
 
       $P1 = .ITERATE_FROM_START
 
@@ -1710,15 +1706,11 @@
 currently selected HLL. This example stores and retrieves a C<bill> variable in
 the Euro namespace, under the Dutch HLL namespace root:
 
-=begin PIR_FRAGMENT_INVALID
-
   .HLL 'Dutch'
   #...
   set_hll_global ["Euro"], "bill", $P0
   $P1 = get_hll_global ["Euro"], "bill"
 
-=end PIR_FRAGMENT_INVALID
-
 =head3 NameSpace PMC
 
 Namespaces are just PMCs. They implement the standard vtable functions


More information about the parrot-commits mailing list