Files
harbour-core/harbour/contrib/hbrun/hbrun.1
Viktor Szakats 4d96da75b6 2012-06-06 10:26 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/pp/ppcore.c
    + accept and ignore '#require' PP directive

  * contrib/hbrun/hbrun.prg
  * utils/hbmk2/hbmk2.prg
    + use '#require "name"' to request modules.
      (This replaces former '//#require', '//#pragma module' and
       '*#pragma module' directives.)

  * utils/hbmk2/hbmk2.prg
    + add .hbc automatically for '#require' directives (experimental)
      ; TODO: to work also in non-incremental mode and to work
              reliably in -inc mode. To not impact performance, the
              compiler could do a callback when #require is found,
              hbmk2 could find the .hbc and extend compiler options
              dynamically.
    ! fixed finding .hbc files that were detected automatically

  * contrib/hbrun/hbrun.1
    + added my name as author
2012-06-06 08:29:39 +00:00

35 lines
1.0 KiB
Groff

.TH HBRUN 1
.SH NAME
hbrun \- "DOt Prompt" Console / runner for the Harbour Language
.SH SYNOPSIS
\fBhbrun\fP \fB[<file[.prg|.hrb]>\fP \fB[<parameters,...>]]\fP
.SH DESCRIPTION
\fBhbrun\fP is "DOt Prompt" console for the Harbour Language.
It can work as interpreter when run without parameters
or can execute xBase/Clipper source code in .prg file or compiled
Harbour Portable Objects (.hrb) given as first parameter.
Type of file is recognized by extension used with \fB<file>\fP
parameter. If not given then .hrb is used.
.PP
\fBhbrun\fP can be also used to execute .prg files as scripts
It's enough to add in the first line of .prg file:
.PP
\fB#!/usr/bin/hbrun\fP
.PP
and set executable attribute.
.SH OPTIONS
.IP "\fB-h, -?, --help\fP" 10
When given as first parameter display help
.PP
This program has no other options. \fB<parameters,...>\fP are passed to
startup function in executed code coming from \fB<file[.prg|.hrb]>\fP.
.SH AUTHOR
Viktor Szakats, Przemyslaw Czerpak, The Harbour Project (http://harbour-project.org)