"Hello, World" Example
The "hello, world" example program prints the string "Hello, world" to a terminal or screen display.
PRINT FORMAT HELLOW VECTOR VALUES HELLOW=$13h0Hello, world*$ END OF PROGRAMThe first character of the line is treated as logical carriage control, in this example the character zero which causes a double spaced line to be printed.
Or, if entering all of the keywords at your keypunch is too much work, you can use contractions and the compiler will expand them in the listing:
P'T HELLOW V'S HELLOW=$13h0Hello, world*$ E'MRead more about this topic: MAD (programming Language)
Famous quotes containing the word world:
“We dont know any more about pictures than a kangaroo does about metaphysics.... To us, the great uncultivated, it is the last thing in the world to call a picture. Brown said it looked like an old fire- board.”
—Mark Twain [Samuel Langhorne Clemens] (18351910)