Application Development with Harbour/Installation

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

Installation for Windows[edit]

-Go to https://sourceforge.net/projects/harbour-project/files/binaries-windows/3.0.0/
-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 start button and search for cmd.exe)
-cd C:\hb30\tests
-C:\hb30\bin\hbmk2 hello.prg
-hello.exe (You should see "Hello world!")

The code of hello.prg looks like this:

PROCEDURE Main()
? "Hello world!"
RETURN