User:Melab/Quine
Jump to navigation
Jump to search
It is easy to make a quine program depending on the language. This article uses pseudo code to show examples.
Example 1
The psuedocode does as follows:
<code> this is the tag to begin the program </code> ends program <print> begins what is to be printed </print> ends what is to be printed <nocode> begins what is not to be executed of code </nocode> closes 'nocode' tag
Use of the 'nocode' tag is important in this quine. This would be the source code for the quine:
<code><print><nocode><code><print><code><print><nocode><