MAD (programming Language) - "Hello, World" Example

"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 PROGRAM

The 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'M

Read more about this topic:  MAD (programming Language)

Famous quotes containing the word world:

    You should go to picture-galleries and museums of sculpture to be acted upon, and not to express or try to form your own perfectly futile opinion. It makes no difference to you or the world what you may think of any work of art. That is not the question; the point is how it affects you. The picture is the judge of your capacity, not you of its excellence; the world has long ago passed its judgment upon it, and now it is for the work to estimate you.
    Anna C. Brackett (1836–1911)