Integer comparison: Difference between revisions
m
→{{Header|Tiny BASIC}}: Works with (Tom Pittman's) TinyBasic.
(Add lang example) |
m (→{{Header|Tiny BASIC}}: Works with (Tom Pittman's) TinyBasic.) |
||
Line 794:
==={{Header|Tiny BASIC}}===
{{works with|TinyBasic}}
<syntaxhighlight lang="tinybasic">PRINT "Enter a number"▼
Some implementations of Tiny BASIC use <code>,</code> instead of <code>;</code> for concatenation of print items.
INPUT A▼
20 PRINT "Enter
INPUT B▼
▲30 INPUT A
IF A < B THEN PRINT A," is less than ",B▼
▲50 INPUT B
IF A = B THEN PRINT A," is equal to ",B</syntaxhighlight>▼
70 IF A > B THEN PRINT A;" is greater than ";B
90 END</syntaxhighlight>
=={{header|Batch File}}==
|