A+B: Difference between revisions

Content added Content deleted
m (Automated syntax highlighting fixup (second round - minor fixes))
m (Fix markup)
Line 1,309: Line 1,309:


=={{header|AsciiDots}}==
=={{header|AsciiDots}}==
<<syntaxhighlight lang="asciidots">
<Lang AsciiDots>
&-#$-\
&-#$-\
.-#?-[+]
.-#?-[+]
.-#?--/
.-#?--/
</syntaxhighlight>
</Lang>


=={{header|ATS}}==
=={{header|ATS}}==
Line 1,661: Line 1,661:
=={{header|BlooP}}==
=={{header|BlooP}}==
BlooP and FlooP can't actually read from stdin, but here's the procedure it would use, if it could.
BlooP and FlooP can't actually read from stdin, but here's the procedure it would use, if it could.
<syntaxhighlight lang="bloop">
<Lang BlooP>
DEFINE PROCEDURE ''ADD'' [A, B]:
DEFINE PROCEDURE ''ADD'' [A, B]:
BLOCK 0: BEGIN
BLOCK 0: BEGIN
OUTPUT <= A + B;
OUTPUT <= A + B;
BLOCK 0: END.
BLOCK 0: END.
</syntaxhighlight>
</Lang>


=={{header|bootBASIC}}==
=={{header|bootBASIC}}==