------------------------------
README.TXT of xHarbour 0.99.70
------------------------------

This readme will show how to use xHarbour binaries. The structure of folders and files are:

xHarbour
--Bin
--Include
--Lib

The bin folder has the executables needed to compile and build your applications, like harbour.exe and hbmake.exe

The include folder has the include files needed to compiler references.

The lib folder has the libs compiled under Pelles C v4.50 needed by your applications.

You must install Pelles C compiler version 4.50 into your computer before start with xharbour.
To download a freeware copy go to the http://www.smorgasbordet.com/pellesc 

The next stage is create a bat file to set xHarbour environment variables. At command prompt type:

copy con xhb.bat <enter>
type:
@echo off
set path=c:\pellesc\bin;c:\xharbour\bin;%path%
set lib=c:\pellesc\lib;c:\pellesc\lib\win;c:\xharbour\lib;%lib%
set include=c:\pellesc\include;c:\pellesc\include\win;c:\xharbour\include;%include%

type <ctrl-Z> to save the xhb.bat file.

After Pelles C installed and xhb.bat called, is time to build a "Hello World" test.

At command prompt, type:

copy com test.prg <enter>

type:

proc main()
cls
0,0 say version()

alert('Hello World')

return

press <Ctrl-Z> to save test.prg

Note: Only your main prg must begin with "Proc Main()" or "Function Main()" declaration. The other prgs must begin with procedure or function plus the prg name declaration.

run hbmake test.pc -e, where "test.pc" is the script file to be used by hbmake to compile 
and build our hello word. The .pc extension seems pelles c script file. Answer the questions made by hbmake. For help type hbmake /?.

 
run hbmake test.pc ( this will compile and build the test.exe )

run test.exe 

Enjoy !

The xHarbour dev team.

http://www.xharbour.org
news.xharbour.com 