Unique Programming Languages
Save Computer Language
C, Pascal, Ada
Why has Ada /= for not equal sign? C has != and Pascal has <> or # ?
1. Visually (Type in code, by a human.)
As you type, you make errors.
2. Compiler
Font
(Math Symbol) | C | Pascal | Ada |
---|---|---|---|
{ | Begin | begin | |
} | End | end | |
= | := | ||
a == b | = | ||
/ | / | ||
% | Mod | ||
! | Not | ||
\(\neq\) | != | <> | /= |
&& | And | ||
|| | Or | ||
^ | Xor | ||
a >> 2 | Shr | ||
<< | Shl | ||
++ | Inc | ||
- - | Dec | ||
/* | { or (* | ||
*/ | } or *) | ||
// | // | ||
0x | $ | ||
& | @ | ||
* | ^ | ||
if() | If Then | ||
if() else | If Then Else | ||
while | While Do | ||
do while | Repeat Until Not | ||
do while ! | Repeat Until | ||
for ++ | For To Do | ||
for -- | For Downto Do | ||
switch case break | Case Of End | ||
switch case break default | Case Of Else End |
Helpful?
Let us know if you liked the post. That’s the only way we can improve.