Hello world/Text: Difference between revisions
Content deleted Content added
Added Odin and C3 |
→{{header|PL/M}}: Replaced the PLM286 version with one that can be compiled with the original 8080 PL/M compiler and run under CP/M (or an emulator). |
||
Line 2,826:
=={{header|PL/M}}==
The original PL/M compiler does not recognise upper-case letters, hence the Hello, World! string must specify the ASCII codes for the lower-case letters.
<lang plm>
PRINT$STRING: PROCEDURE( S ); DECLARE S ADDRESS; CALL BDOS( 9, S ); END;
/* HELLO, WORLD! IN MIXED CASE */
DECLARE HELLO$WORLD ( 14 ) BYTE
INITIAL( 'H', 65H, 6CH, 6CH, 6FH, ',', ' '
, 'W', 6FH, 72H, 6CH, 64H, 21H, '$'
</lang>▼
);
CALL PRINT$STRING( .HELLO$WORLD );
▲EOF</lang>
=={{header|PL/SQL}}==
|