Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,22 @@
|
|||
class
|
||||
APPLICATION
|
||||
|
||||
create
|
||||
make
|
||||
|
||||
feature {NONE}
|
||||
|
||||
make
|
||||
do
|
||||
io.put_string (increment_numerical_string ("7"))
|
||||
io.new_line
|
||||
io.put_string (increment_numerical_string ("99"))
|
||||
end
|
||||
|
||||
increment_numerical_string (s: STRING): STRING
|
||||
-- String 's' incremented by one.
|
||||
do
|
||||
Result := s.to_integer.plus (1).out
|
||||
end
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue