Re: Procedure main
- Posted by jmduro Aug 19, 2022
- 701 views
I'll take a short example. I have written to files:
First one: my_string.ex
public sequence my_string public function create_string(integer len) return repeat(' ', len) end function -- initialise my_string my_string = create_string(10)
It ends with some function calls. Is it the main file ?
Second one: where_to_begin.ex
include my_string.ex puts(1, append_string("I am Irv's greatest fan.") & "\n") function append_string(sequence s) return my_string & s end function
It ends with a function: is is a library ?
You and I know the answers but how can a beginner understand easily where to start?
eui where_to_begin.ex I am Irv's greatest fan.
Jean-Marc