View previous topic :: View next topic
|
Author |
Message |
sararaju
New User
Joined: 04 May 2005 Posts: 25
|
|
|
|
Why is so much of COBOL in uppercase? |
|
Back to top |
|
|
maverick05
New User
Joined: 14 Apr 2005 Posts: 54 Location: Earth
|
|
|
|
Convention boss |
|
Back to top |
|
|
priya
Moderator
Joined: 24 Jul 2003 Posts: 568 Location: Bangalore
|
|
|
|
Quote: |
Why is so much of COBOL in uppercase |
That's because the first COBOL compiler was introduced in 1961. At that time there is no SMALL LETTER in the computer keyboard. |
|
Back to top |
|
|
ajay_dheepak
New User
Joined: 12 May 2005 Posts: 32 Location: Chennai
|
|
|
|
maverick05,
Try coding a COBOL program in all lower-case. You wont find any error. Its not a Convention |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Also, for a long time many printers only printed in upper-case characters. |
|
Back to top |
|
|
priya
Moderator
Joined: 24 Jul 2003 Posts: 568 Location: Bangalore
|
|
|
|
I accept with you superk.
ANSI-68 COBOL introduced a facility to type in Small Letters also.
But Small letters are not in COBOL character set yet now.
So if you type in small letter, it's treated as the equivalent capital letter ASCII code by the COBOL compiler. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
The real reason was that the printers and the other equipment of the time made so much noise that the developers had to SHOUT. |
|
Back to top |
|
|
nave
New User
Joined: 16 May 2005 Posts: 10 Location: bangalore,india
|
|
|
|
but cobol is not case sensitive. |
|
Back to top |
|
|
|