Mode:
Duration:
1
2
3
4
5
6
DECLARE time FIXED BINARY(31) INITIAL(0);
DO WHILE(time < 5);
PUT SKIP LIST('Stopwatch:', time, 'seconds');
time = time + 1;
END;
PUT SKIP LIST('Done!');Coding works best on desktop or with an external keyboard.
DECLARE time FIXED BINARY(31) INITIAL(0);
DO WHILE(time < 5);
PUT SKIP LIST('Stopwatch:', time, 'seconds');
time = time + 1;
END;
PUT SKIP LIST('Done!');Coding works best on desktop or with an external keyboard.
Simulates a stopwatch incrementing seconds.
DECLARE time FIXED BINARY(31) INITIAL(0);
DO WHILE(time < 5);
PUT SKIP LIST('Stopwatch:', time, 'seconds');
time = time + 1;
END;
PUT SKIP LIST('Done!');PLI (Programming Language One) is a procedural, compiled language designed for business and systems programming, particularly for large-scale data processing and legacy IBM mainframe environments.
Origin & Creator
Developed by IBM in the 1960s, primarily as a high-level language for business and systems applications on mainframe computers.
Industrial Note
PLI remains in use in legacy IBM mainframe environments for maintaining mission-critical financial and administrative systems.