Application Development with Harbour/Installation

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Installation for Windows[edit]

-Go to
-Download and Install harbour-3.0.0-win.exe (Choose a destination folder for example C:\hb30)

HelloWorld test
-Open a CMD window (Go to Windows -> click on the "Start" button -> Type "cmd.exe" in the search box)
-Type "cd C:\hb30\tests" (without the quotes) on the cmd window and press "Enter"
-Type "C:\hb30\bin\hbmk2 hello.prg" (again, without the quotes) and press "Enter"
-Type "hello.exe" and press "Enter" (You should see "Hello world!" appears on the screen upon execution of the program)

The code of hello.prg looks like this:

? "Hello world!"