XHarbour - Sample Code

Sample Code

The typical "hello world" program would be:

? "Hello, world!"

Or:

QOut( "Hello, world!" )

Or:

Alert( "Hello, world!" )

Or, enclosed in an explicit procedure:

PROCEDURE Main ? "Hello, world!" RETURN

Read more about this topic:  XHarbour

Famous quotes containing the words sample and/or code:

    All that a city will ever allow you is an angle on it—an oblique, indirect sample of what it contains, or what passes through it; a point of view.
    Peter Conrad (b. 1948)

    Motion or change, and identity or rest, are the first and second secrets of nature: Motion and Rest. The whole code of her laws may be written on the thumbnail, or the signet of a ring.
    Ralph Waldo Emerson (1803–1882)