Chris's Wiki :: blog/tech/ProgramStartTwoApproaches Commentshttps://utcc.utoronto.ca/~cks/space/blog/tech/ProgramStartTwoApproaches?atomcommentsDWiki2020-07-28T02:56:10ZRecent comments in Chris's Wiki :: blog/tech/ProgramStartTwoApproaches.By 1000001101000 on /blog/tech/ProgramStartTwoApproachestag:CSpace:blog/tech/ProgramStartTwoApproaches:f24c1a957c6fad8d3e611bded9e1ae7b9d8fde851000001101000<div class="wikitext"><p>One fun element of MUMPS is the approach it takes to this. By default a routine begins at the start similar to shell scripts:</p>
<p>DO ^SOMEROUTINE</p>
<p>It also supports starting at any label within the code:</p>
<p>DO SOMELABEL^SOMEROUTINE</p>
<p>I'm probably more fascinated by this old language than is healthy.</p>
</div>2020-07-28T02:56:10ZBy Nieve on /blog/tech/ProgramStartTwoApproachestag:CSpace:blog/tech/ProgramStartTwoApproaches:d831d71b92e2f8869a1162264cb108480e05e80cNieve<div class="wikitext"><p>I think that's slightly misleading since Perl supports sections of code that are run before the start of the program and if memory serves they can be placed later in the file or files. For obvious reasons the Perl community is generally not enthusiastic about (ab)using this heavily. Still, linear evaluation is a close enough description for most people who aren't actually writing Perl.</p>
</div>2020-07-22T21:55:51Z