[svn:parrot] r41935 - trunk/docs/book/pir
jkeenan at svn.parrot.org
jkeenan at svn.parrot.org
Sun Oct 18 19:41:15 UTC 2009
Author: jkeenan
Date: Sun Oct 18 19:41:12 2009
New Revision: 41935
URL: https://trac.parrot.org/parrot/changeset/41935
Log:
Applying patches to ch04 and ch05 submitted in https://trac.parrot.org/parrot/ticket/1116.
Modified:
trunk/docs/book/pir/ch04_variables.pod
trunk/docs/book/pir/ch05_control_structures.pod
Modified: trunk/docs/book/pir/ch04_variables.pod
==============================================================================
--- trunk/docs/book/pir/ch04_variables.pod Sun Oct 18 19:08:43 2009 (r41934)
+++ trunk/docs/book/pir/ch04_variables.pod Sun Oct 18 19:41:12 2009 (r41935)
@@ -160,7 +160,7 @@
X<logical opcodes>
The logical opcodes evaluate the truth of their arguments. They are most
useful to make decisions for control flow. Integers and numeric PMCs
-support logical are false if they're 0 and true otherwise. Strings are
+are false if they're 0 and true otherwise. Strings are
false if they're the empty string or a single character "0", and true
otherwise. PMCs are true when their C<get_bool>X<get_bool vtable
function> vtable function returns a nonzero value.
Modified: trunk/docs/book/pir/ch05_control_structures.pod
==============================================================================
--- trunk/docs/book/pir/ch05_control_structures.pod Sun Oct 18 19:08:43 2009 (r41934)
+++ trunk/docs/book/pir/ch05_control_structures.pod Sun Oct 18 19:41:12 2009 (r41935)
@@ -17,7 +17,7 @@
X<unconditional branch>
An unconditional branch always jumps to a specified label. PIR has only
one unconditional branch instruction, C<goto>. In this example, the
-first C<print> statement never runs because the C<goto> always skips
+first C<say> statement never runs because the C<goto> always skips
over it to the label C<skip_all_that>:
=begin PIR_FRAGMENT
More information about the parrot-commits
mailing list