< Application Development with Harbour
Installation for Windows
-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 -> 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:
PROCEDURE Main()
? "Hello world!"
RETURN
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.