The following warnings occurred:
Warning [2] Undefined array key 0 - Line: 1677 - File: showthread.php PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php 1677 errorHandler->error_callback
/showthread.php 916 buildtree




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to #include files with relative path to the current one?
#5
britlion Wrote:
programandala.net Wrote:
boriel Wrote:The standard way (e.g. C compilers) is use angles < ... > for compiler-library files. Use double quotes " ... " for your files.

How much distracted I was! Thank you. There is a mention about it in the Library page. An #INCLUDE page is coming Smile

I'm glad the library page is being appreciated :-)

Perhaps a page on # commands generally, linking to specifics? #include #Pragma, #line, #define #Ifdef.... etc.
Yes, this goes into the *preprocessor* directives help. The zxbpp preprocessor is called automagically on each file before starting compilation/assembling.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)