"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:
“However low and poor the taking Snuff argues a Man to be in his own Stock of Thought, or Means to employ his Brains and his Fingers, yet there is a poorer Creature in the World than He, and this is a Borrower of Snuff; a Fellow that keeps no Box of his own, but is always asking others for a Pinch.”
—Richard Steele (16721729)