Empty program: Difference between revisions
Content deleted Content added
m →{{header|ALGOL W}}: Notes |
add BQN |
||
Line 239: | Line 239: | ||
<lang bootBASIC></lang> |
<lang bootBASIC></lang> |
||
=={{header|BQN}}== |
|||
An empty program in BQN produces an error. There must be at least one line which returns a value. |
|||
Any valid literal works to make a program run. The shortest way is to use a single digit, or a predefined constant, like <code>π</code> or <code>∞</code>. |
|||
<lang bqn>∞</lang> |
|||
[https://mlochbaum.github.io/BQN/try.html#code=4oie Try It!] |
|||
=={{header|Bracmat}}== |
=={{header|Bracmat}}== |
||
An empty file is a valid program. However you need to load it, which requires a statement. In a Linux terminal, you could do |
An empty file is a valid program. However you need to load it, which requires a statement. In a Linux terminal, you could do |