Category:ArnoldC: Difference between revisions
Content added Content deleted
mNo edit summary |
(explain how to use ArnoldC's profanity on Rosetta Code) |
||
Line 7: | Line 7: | ||
ArnoldC is an [[esoteric programming language]] created with Scala by Lauri Hartikka. The source is available [https://github.com/lhartikk/ArnoldC here], along with tutorials and example programs. |
ArnoldC is an [[esoteric programming language]] created with Scala by Lauri Hartikka. The source is available [https://github.com/lhartikk/ArnoldC here], along with tutorials and example programs. |
||
In an effort to keep Rosetta Code accessible to as many schools as possible, commands with profanity have been censored using asterisks. Specifically, please use <code>GET YOUR A** TO MARS</code> and <code>BULLS***</code> when making submissions. |
|||
⚫ | |||
⚫ | |||
Line 27: | Line 29: | ||
|If |
|If |
||
|- |
|- |
||
| style="text-align:center"| <code> |
| style="text-align:center"| <code>BULLS***</code> |
||
|Else |
|Else |
||
|- |
|- |
||
Line 84: | Line 86: | ||
|CallMethod |
|CallMethod |
||
|- |
|- |
||
| style="text-align:center"| <code>GET YOUR |
| style="text-align:center"| <code>GET YOUR A** TO MARS</code> |
||
|AssignVariableFromMethodCall |
|AssignVariableFromMethodCall |
||
|- |
|- |
||
Line 114: | Line 116: | ||
|EndAssignVariable |
|EndAssignVariable |
||
|- |
|- |
||
| style="text-align:center"| <code>WHAT THE |
| style="text-align:center"| <code>WHAT THE F*CK DID I DO WRONG</code> |
||
|ParseError |
|ParseError |
||
|} |
|} |
||
Line 129: | Line 131: | ||
===Variables and Keywords=== |
===Variables and Keywords=== |
||
Variables and keywords are differentiated by capitalisation. Variables should |
Variables and keywords are differentiated by capitalisation. Variables should always be <code>lowercase</code>, whereas keywords are always <code>UPPERCASE</code>. |
||
===New Lines=== |
===New Lines=== |