Skip to content

Answer to “Include”

The problem here was with the {$INCLUDE} directives.  The following line compiles in the IDE, but not from the command line (or from a build tool that uses the command line compiler):

{$INCLUDE ../includes/dotnet.inc}

The fix?  Use backslashes in the file path, not forward slashes:

{$INCLUDE ..\includes\dotnet.inc}

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*