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

jkeenan at svn.parrot.org jkeenan at svn.parrot.org
Wed Oct 14 01:44:26 UTC 2009


Author: jkeenan
Date: Wed Oct 14 01:44:19 2009
New Revision: 41848
URL: https://trac.parrot.org/parrot/changeset/41848

Log:
Apply patch to documentation submitted in response to posting on list by Vadim Konovalov:  https://trac.parrot.org/parrot/ticket/1104.

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

Modified: trunk/docs/book/pir/ch04_variables.pod
==============================================================================
--- trunk/docs/book/pir/ch04_variables.pod	Wed Oct 14 01:09:21 2009	(r41847)
+++ trunk/docs/book/pir/ch04_variables.pod	Wed Oct 14 01:44:19 2009	(r41848)
@@ -1030,7 +1030,7 @@
 X<PMCs (Polymorphic Containers);scalar>
 In most of the examples shown so far, PMCs duplicate the behavior of integers,
 numbers, and strings. Parrot provides a set of PMCs for this exact purpose.
-C<Integer>, C<Number>, and C<String> are thin overlays on Parrot's low-level
+C<Integer>, C<Float>, and C<String> are thin overlays on Parrot's low-level
 integers, numbers, and strings.
 
 A previous example showed a string literal assigned to a PMC variable of type
@@ -1045,7 +1045,7 @@
   $P1 = new 'String'
   $P1 = "5 birds"
 
-  $P2 = new 'Number'
+  $P2 = new 'Float'
   $P2 = 3.14
 
 =end PIR_FRAGMENT
@@ -1068,7 +1068,7 @@
   $P1 = $S1
 
   $N2 = 3.14
-  $P2 = new 'Number'
+  $P2 = new 'Float'
   $P2 = $N2
 
 =end PIR_FRAGMENT
@@ -1082,7 +1082,7 @@
 
   $P1 = box $S1  # $P1 is a "String"
 
-  $P2 = box 3.14 # $P2 is a "Number"
+  $P2 = box 3.14 # $P2 is a "Float"
 
 =end PIR_FRAGMENT
 
@@ -1110,7 +1110,7 @@
 
 =end PIR_FRAGMENT
 
-This example creates C<Integer>X<Integer PMC>, C<Number>X<Number PMC>,
+This example creates C<Integer>X<Integer PMC>, C<Float>X<Float PMC>,
 and C<String>X<String PMC> PMCs, and shows the effect of assigning each
 one back to a low-level type.
 


More information about the parrot-commits mailing list