Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
23
Task/Variables/Eiffel/variables-1.e
Normal file
23
Task/Variables/Eiffel/variables-1.e
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
class
|
||||
APPLICATION
|
||||
inherit
|
||||
ARGUMENTS
|
||||
create
|
||||
make
|
||||
|
||||
feature {NONE} -- Initialization
|
||||
|
||||
make
|
||||
-- Run application.
|
||||
local
|
||||
i: INTEGER
|
||||
s: STRING
|
||||
do
|
||||
i := 100
|
||||
s := "Some string"
|
||||
create a.make_empty
|
||||
end
|
||||
|
||||
feature {NONE} -- Class Features
|
||||
|
||||
a: ARRAY[INTEGER]
|
||||
3
Task/Variables/Eiffel/variables-2.e
Normal file
3
Task/Variables/Eiffel/variables-2.e
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
-- assume A and B are of the same datatype
|
||||
B := A
|
||||
A.some_modification_feature
|
||||
Loading…
Add table
Add a link
Reference in a new issue