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
This commit is contained in:
manus
2013-08-07 13:04:30 +00:00
parent 1fd7b55ecf
commit e50ba6ca01

View File

@@ -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 It is also possible to declare '''constant attributes''', as in
<code> <code>
Solar_system_planet_count: INTEGER = 9 Solar_system_planet_count: INTEGER = 8
</code> </code>
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.) 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.)