Hello friends,
Can you please advise me on how I can link in my library or prg-files?
Should we link in compiled files or plain prg files?
Best regards,
Otto
link in my own library
- ricardo arraes
- Mensajes: 87
- Registered for: 3 years 5 months
Hey Otto!
how you doing?
I usually call for:
...whenever I want to attach some files or avoid duplicated code.
*This is a mercury function
how you doing?
I usually call for:
Código: Seleccionar todo
{% LoadFile( "/src/function/functions.prg" ) %}
*This is a mercury function
The work always comes before the belief
-
- Site Admin
- Mensajes: 315
- Registered for: 3 years 6 months
// {% LoadHRB( './cr1.hrb' ) %}
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
-
- Mensajes: 50
- Registered for: 3 years 5 months
Cristobal, Ricardo, thank you so much.
I also got some help from Antonio - I post this, too.
Best regards,
Otto
From FIVEWIN mod harbour forum:
Antonio Linares answered:
How to include into mod harbour?
-------------------------------------------------------------------------------------------------------
You have to include your PRGs (or libraries) filenames in modharbour.hbp
https://github.com/FiveTechSoft/mod_har ... arbour.hbp
in apache.prg add your functions names as "extern"
https://github.com/FiveTechSoft/mod_har ... apache.prg
Finally run go64.bat and you will get your mod_harbour with your extra PRGs (or libraries) built in
https://github.com/FiveTechSoft/mod_har ... s/go64.bat
How do I only include an external file for a single project without changing APACHE?
-------------------------------------------------------------------------------------------------------
You may use:
#include "myfile.prg"
better place it at the bottom of your main PRG
I also got some help from Antonio - I post this, too.
Best regards,
Otto
From FIVEWIN mod harbour forum:
Antonio Linares answered:
How to include into mod harbour?
-------------------------------------------------------------------------------------------------------
You have to include your PRGs (or libraries) filenames in modharbour.hbp
https://github.com/FiveTechSoft/mod_har ... arbour.hbp
in apache.prg add your functions names as "extern"
https://github.com/FiveTechSoft/mod_har ... apache.prg
Finally run go64.bat and you will get your mod_harbour with your extra PRGs (or libraries) built in
https://github.com/FiveTechSoft/mod_har ... s/go64.bat
How do I only include an external file for a single project without changing APACHE?
-------------------------------------------------------------------------------------------------------
You may use:
#include "myfile.prg"
better place it at the bottom of your main PRG
-
- Mensajes: 127
- Registered for: 3 years 5 months
Gracias
Muchas formas de "pelar un gato"
Saludos
Osvaldo Ramirez
Muchas formas de "pelar un gato"
Saludos
Osvaldo Ramirez