Dear Antonio,
can you please show us how to build mod harbour web pages consisting of more prg files.
Best regards
Otto
mod harbour projects
mod harbour projects
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
Re: mod harbour projects
copied from SLCK - Antonio answered:
If you want to use several PRGs at once, simply compile them into a single HRB file
and then use // {% LoadHrb( "file.hrb" ) %}
Otto 09:00 Uhr
Many thanks. How do I start? Is there a make file. Can you show us how to start a simple project with eg 3 prg files.
Antonio Linares 09:04 Uhr
mylib.prg
#include "file1.prg"
#include "file2.prg"
#include "file3.prg"
then you compile mylib.prg using harbour -gh -n mylib.prg
Now, from your app.prg use this as the top line: // {% LoadHrb( "mylib.hrb" ) %}
Otto 10:03 Uhr
Antonio, if it is ok for you I copy this topic to forum as I think this is very important for all.
If you want to use several PRGs at once, simply compile them into a single HRB file
and then use // {% LoadHrb( "file.hrb" ) %}
Otto 09:00 Uhr
Many thanks. How do I start? Is there a make file. Can you show us how to start a simple project with eg 3 prg files.
Antonio Linares 09:04 Uhr
mylib.prg
#include "file1.prg"
#include "file2.prg"
#include "file3.prg"
then you compile mylib.prg using harbour -gh -n mylib.prg
Now, from your app.prg use this as the top line: // {% LoadHrb( "mylib.hrb" ) %}
Otto 10:03 Uhr
Antonio, if it is ok for you I copy this topic to forum as I think this is very important for all.
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
Re: mod harbour projects
FivEdit has new features to more easily support mod_harbour: generate .hrb [ ALT + F7 ] files more easily, run directly in the browser and some more...
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.