User input/Text: Difference between revisions
Content added Content deleted
Grammarware (talk | contribs) (+BabyCobol) |
Grammarware (talk | contribs) (→{{header|BabyCobol}}: remove stray space) |
||
Line 491: | Line 491: | ||
=={{header|BabyCobol}}== |
=={{header|BabyCobol}}== |
||
<syntaxhighlight lang="cobol"> |
<syntaxhighlight lang="cobol"> |
||
* NB: whitespace insignificance and case insensitivity |
|||
* are used in the field name. |
|||
IDENTIFICATION DIVISION. |
|||
PROGRAM-ID. USER INPUT. |
|||
DATA DIVISION. |
|||
01 THREE DIGIT NUMBER PICTURE IS 9(3). |
|||
PROCEDURE DIVISION. |
|||
DISPLAY "Enter a number: " WITH NO ADVANCING |
|||
ACCEPT ThreeDigit Number. |
|||
</syntaxhighlight> |
</syntaxhighlight> |
||