Skip to content
Paul Squires edited this page Sep 19, 2026 · 1 revision

Home › Intrinsic Defines › PATH

PATH

Intrinsic define (macro string) set by the compiler

Syntax

__PATH__

Description

Set to the quoted absolute path of the source file at the time of compilation.

Remarks

Differences from QB

  • New to FreeBASIC

See also

Examples

' Tell the compiler to seach the source file's

' directory for libraries

#libpath __PATH__

Category: Intrinsic Defines
Kind: keyword


Reproduced from the FreeBASIC Wiki Manual under the GNU Free Documentation License 1.3 — with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. Copyright © the FreeBASIC project and wiki contributors. See License.

Clone this wiki locally