From 576990113273caed9a045380f1457adc1df6a5ee Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 23 Mar 2015 23:59:59 -0700 Subject: 968 --- cpp/020array | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'cpp/020array') diff --git a/cpp/020array b/cpp/020array index d5e0204c..4ee04e98 100644 --- a/cpp/020array +++ b/cpp/020array @@ -23,10 +23,10 @@ recipe main [ +mem: location 2 is 14 +mem: location 3 is 15 +mem: location 4 is 16 -+mem: storing in location 5 -+mem: storing in location 6 -+mem: storing in location 7 -+mem: storing in location 8 ++mem: storing 3 in location 5 ++mem: storing 14 in location 6 ++mem: storing 15 in location 7 ++mem: storing 16 in location 8 :(before "End size_of Cases") if (t.is_array) { @@ -80,7 +80,7 @@ recipe main [ +run: its type is 1 +mem: location 2 is 14 +run: product 0 is 14 -+mem: storing in location 5 ++mem: storing 14 in location 5 :(before "End Globals") // To write to fields of records, you need their address. @@ -119,4 +119,4 @@ recipe main [ +run: ingredient 0 is 1 +run: ingredient 1 is 0 +run: address to copy is 2 -+mem: storing in location 5 ++mem: storing 2 in location 5 -- cgit 1.4.1-2-gfad0