From 9dc595105a95d7ba2c12862e6e531df3efad9586 Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Wed, 14 Sep 2011 07:06:47 -0700 Subject: [PATCH] Typo ex13. --- ex13.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ex13.tex b/ex13.tex index 3ad6e8f..787822e 100644 --- a/ex13.tex +++ b/ex13.tex @@ -6,7 +6,7 @@ \chapter{Exercise 13: Switch Statement} is about the same thing. For these languages, \ident{switch-statements} are more alternatives to \ident{if-statements} and work the same internally. -The \ident{switch-statement} is actually entirely different and is really "jump +The \ident{switch-statement} is actually entirely different and is really a "jump table". Instead of random boolean expressions, you can only put expressions that result in integers, and these integers are used to calculate jumps from the top of the \ident{switch} to the part that matches that value. Here's some