There is a computing problem which goes 'write a program whose sole effect, when run, is to print out a copy of itself'.
In the solution, you are not allowed to cheat by using machine dependent tricks like PEEKing the area where the program is stored or putting 'LIST' into the keyboard buffer.
The problem can be solved in any language though the actual method is likely to vary. You might like to pause and try to think of how you would solve the problem in your favourite computer language. A solution for BBC Basic is given in the listing below.