diff options
Diffstat (limited to 'cpp/017record')
-rw-r--r-- | cpp/017record | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/017record b/cpp/017record index d64fdcb6..f42531be 100644 --- a/cpp/017record +++ b/cpp/017record @@ -1,5 +1,5 @@ -// Support for records. -:(before "End Mu Types") +//: Support for records. +:(before "End Mu Types Initialization") // We'll use this record as a running example, with two integer fields int point = Type_number["point"] = Next_type_number++; Type[point].size = 2; @@ -73,7 +73,7 @@ recipe main [ +run: product 0 is 35 +mem: storing in location 15 -:(before "End Mu Types") +:(before "End Mu Types Initialization") // A more complex record, containing another record. int point_integer = Type_number["point-integer"] = Next_type_number++; Type[point_integer].size = 2; |