Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A challenge that involves making a "Hello, World!" program, or other similar strings. It is recommended to avoid using exactly "Hello, World!" as many languages have builtins to print it, trivialising the challenge.
21
votes
Alphanumeric Hello World
COBOL
ID DIVISION
DATA DIVISION
01 HELLOWORLDBINARY
05 HE COMP PIC 9999
05 LL COMP PIC 9999
05 OCOMMA …
2
votes
Write a piece of code to output the line number of the print / output statement itself (in t...
Inspired by @squeamish ossifrage's answer with BASIC.
What's in a line number?
In, for instance, IBM COBOL there are (can be) arguably three source line numbers.
The first (if used, it is optional) …
9
votes
Write a piece of code to output the line number of the print / output statement itself (in t...
GNU COBOL
Well, they said it couldn't be done. Actually, it was I who said it couldn't be done. Now it's done, and an obsolete language feature re-implemented using the method applied.
The question …
10
votes
Obfuscation Challenge
COBOL (IBM Enterprise COBOL)
ID
If shown that, very close to 100% of IBM Mainframe COBOL programmers would say "that's not even a program, that won't compile!". The more experience they have, th …