From e50ba6ca0170ae770bbee323bea9a4009811c959 Mon Sep 17 00:00:00 2001 From: manus Date: Wed, 7 Aug 2013 13:04:30 +0000 Subject: [PATCH] Updated number of planets to 8 as pluto doesn't count anymore. Author:manus Date:2013-08-07T13:04:30.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1229 abb3cda0-5349-4a8f-a601-0c33ac3a8c38 --- .../current/method/eiffel-tutorial-et/et-other-mechanisms.wiki | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/current/method/eiffel-tutorial-et/et-other-mechanisms.wiki b/documentation/current/method/eiffel-tutorial-et/et-other-mechanisms.wiki index 9e0eaf74..6149707e 100644 --- a/documentation/current/method/eiffel-tutorial-et/et-other-mechanisms.wiki +++ b/documentation/current/method/eiffel-tutorial-et/et-other-mechanisms.wiki @@ -88,7 +88,7 @@ The attributes studied earlier were variable: each represents a field present in It is also possible to declare '''constant attributes''', as in - Solar_system_planet_count: INTEGER = 9 + Solar_system_planet_count: INTEGER = 8 These will have the same value for every instance and hence do not need to occupy any space in objects at execution time. (In other approaches similar needs would be addressed by symbolic constants, as in Pascal or Ada, or macros, as in C.)