Forum > General

unit names

<< < (2/2)

PascalDragon:

--- Quote from: 440bx on May 14, 2024, 07:46:53 am ---The question is: is it possible to have a unit named, e.g, "util" in a file named "x01_util" and if yes, how ?
--- End quote ---

The answer to your question lies in FPC's help output:


--- Quote from: FPC help output ----Un        Do not check where the unit name matches the file name
--- End quote ---

Please note that the in-clause also specifies a path which is (to my surprise I admit) relative to the current working directory, not the directory of the program file.

440bx:
Thank you PascalDragon.  I'll give that a try.

Navigation

[0] Message Index

[*] Previous page

Go to full version