Category:Night: Difference between revisions

Fix formatting
(Add example)
(Fix formatting)
Line 12:
== Examples ==
Here is the example used on the [https://github.com/DynamicSquid/Night GitHub page] (slightly modified):
<lang night>print("Hello World!\n");
print("Hello World!\n");
 
// this is a comment
Line 44 ⟶ 43:
 
int number = add(2, 3) + 4;
print(number + "\n");</lang>
</lang>
Output:
</lang night>
<code>
Hello world!
Hi squid
Adding to numbers:
9
</codelang>
Anonymous user