* config/w32/install.cf
* doc/man/hbdoc.1
* doc/en/tlabel.txt
* doc/en/set.txt
* doc/en/readme.txt
* doc/hbmake.txt
* doc/es/tlabel.txt
* doc/es/rdd.txt
* doc/es/hbpplib.txt
* doc/es/treport.txt
* doc/es/dirstruc.txt
* doc/es/dir.txt
* doc/es/file.txt
* doc/es/readme.txt
* doc/whatsnew.txt
* source/rtl/setkey.c
* source/rtl/tclass.prg
* source/compiler/cmdcheck.c
* contrib/hbmysql/utils/dbf2mysq.prg
* contrib/hbw32ddr/readme.txt
* contrib/hbodbc/odbc.txt
* contrib/hbodbc/readme.txt
* contrib/hbwhat32/_wincdlg.c
* contrib/hbtpathy/ChangeLog
* contrib/hbsqlit2/tests/hbsqlite.prg
* contrib/hbapollo/ChangeLog
* contrib/hbnf/byteneg.prg
* contrib/hbnf/savearr.prg
* contrib/hbnf/fttext.c
* contrib/hbnf/restsets.prg
* contrib/hbnf/byt2bit.prg
* contrib/hbnf/byt2hex.prg
* contrib/hbnf/ftint86.ch
* contrib/hbnf/byteand.prg
* contrib/hbnf/bytexor.prg
* contrib/hbnf/byteor.prg
* contrib/hbnf/origin.c
* contrib/hbnf/bitset.prg
* contrib/hbnf/popadder.prg
* contrib/hbnf/menutonf.prg
* contrib/hbnf/ftattr.c
* contrib/hbnf/isbit.prg
* contrib/hbnf/putkey.c
* contrib/hbnf/getenvrn.c
* contrib/hbnf/bytenot.prg
* contrib/hbnf/savesets.prg
* contrib/hbnf/tbwhile.prg
* contrib/hbnf/ftmenuto.ch
* contrib/hbnf/bitclr.prg
* contrib/hbnf/readme.txt
* contrib/rddads/doc/en/adsfuncs.txt
* contrib/rddads/doc/en/readme.txt
* contrib/rddads/readme.txt
* contrib/hbgd/ChangeLog
* contrib/hbgd/readme.txt
* contrib/hbmisc/hb_f.c
* contrib/hbtip/utils.c
* contrib/hbbtree/doc/hb_btree.txt
* contrib/examples/guestbk/guestbk.txt
* contrib/examples/hscript/readme.txt
* utils/hbdoc/genos2.prg
* utils/hbdoc/genng.prg
* utils/hbdoc/genasc.prg
* utils/hbdoc/genchm.prg
* utils/hbdoc/genhpc.prg
* utils/hbdoc/html.prg
* utils/hbdoc/ft_funcs.prg
* utils/hbdoc/hbdoc.prg
* utils/hbdoc/genpdf1.prg
* utils/hbdoc/gentrf.prg
* utils/hbdoc/genrtf.prg
* utils/hbmake/checks.prg
* utils/hbmake/ft_funcs.prg
* utils/hbmake/radios.prg
* utils/hbmake/hbmake.prg
! Some more filename casing related cleanups.
86 lines
2.4 KiB
Plaintext
86 lines
2.4 KiB
Plaintext
WARNING
|
|
-------
|
|
|
|
This document has serious bugs related to English Language.
|
|
I take no responsabilities for any misinformation in any form.
|
|
<GG>
|
|
|
|
|
|
HarbourScript Alfa Edition
|
|
--------------------------
|
|
|
|
Inside this .zip file you will find HarbourScript package. This
|
|
should be unzipped to /tests/working/hscript directory in order
|
|
to work w/o any changes.
|
|
|
|
To make the HarbourScript Translator, hscript.exe, use makehs.bat.
|
|
If you are going to test offline, there's no need to make it,
|
|
it will be done automatically for you (Batch Power<g>). To test it,
|
|
you'll have the following options:
|
|
|
|
|
|
Testing HarbourScript using MS-Personal Web Server
|
|
--------------------------------------------------
|
|
|
|
(and maybe IIS 3.0+ too!)
|
|
|
|
1. Copy hscript.exe and harbour.exe to your cgi-bin directory
|
|
(or any other with Scripting allowed)
|
|
|
|
2. Copy all the scripts that you want to the same directory
|
|
|
|
3. You can now test Harbour Script using
|
|
http://localhost/cgi-bin/hscript?script=<script>.hs
|
|
|
|
Note: The hscript.exe program still locks the server sometimes.
|
|
This is due to external compilation of the resulting code. As
|
|
soon as we start to use macro substitution instead, this will
|
|
become more stable.
|
|
|
|
|
|
Testing HarbourScript without a Web Server
|
|
------------------------------------------
|
|
|
|
1. Make the sample scripts with makehtm.
|
|
|
|
2. Browse the resulting .htm files as reported on screen.
|
|
|
|
|
|
How do this thing work?
|
|
-----------------------
|
|
|
|
Well, the HS (HarbourScript) tecnology is based on the ASP
|
|
(Active Server Pages) concept and someway in new Oracle 8i's
|
|
too.
|
|
|
|
A .hs page is like any normal HTML page with Special Tags and
|
|
Embedded Code. Those tags are: <% (Start Scripting) and %>
|
|
(End Scripting). Once you run this script, the HS translator
|
|
translates the Embedded Code into true Harbour Code and executes
|
|
it. In other words, you write your PRGs INSIDE your web pages.
|
|
This concept is called active content.
|
|
|
|
|
|
Known bugs
|
|
----------
|
|
|
|
- Web Server hanging some times (see above);
|
|
|
|
|
|
Open questions
|
|
--------------
|
|
|
|
Things not working due to lack of knowledge (if you know how
|
|
to do any of this things, leave a message on Harbour List with
|
|
subject HS Open questions, thanks! ;) ):
|
|
|
|
- How to associate .hs with hscript.exe safely in PWS and IIS.
|
|
I associated it using the Registry Key HKEY_LOCAL_MACHINE\System\>
|
|
CurrentControlSet\Services\W3SVC\Parameters\Script Map but
|
|
whenever I call the script I get a Server Error 500 without any
|
|
further explanation.
|
|
|
|
|
|
Felipe G. Coury
|
|
fcoury@flexsys-ci.com
|