Author Topic: Want to add switch command that Keeps BCX comment in C/C++ code.  (Read 149 times)

firefox78

  • Newbie
  • *
  • Posts: 4
    • View Profile
Want to add switch command that Keeps BCX comment in C/C++ code.

MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 680
    • View Profile
Re: Want to add switch command that Keeps BCX comment in C/C++ code.
« Reply #1 on: October 21, 2020, 08:19:21 AM »
Want to add switch command that Keeps BCX comment in C/C++ code.
That probably will not happen.

You have the $REMS directive that controls the output of comments.

https://bcxbasiccoders.com/webhelp/html/commentdirective.htm#rems

The next version of BCX (7.6.1) will only output comments that are contained in SUBS and FUNCTIONS
including main() and Winmain().  Currently, comments not inside SUBS or FUNCTIONS are emitted at
the end of the c/c++ file which is mostly useless.