Author Topic: persistent $PP  (Read 396 times)

jcfuller

  • Sr. Member
  • ****
  • Posts: 268
    • View Profile
persistent $PP
« on: July 19, 2020, 10:11:32 AM »
Kevin,
  Now that it looks like a working $PP is possible would you entertain a command line option that would make it persistent and send every line to ProcessLine in bcxpp.dll ?

James

MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 714
    • View Profile
Re: persistent $PP
« Reply #1 on: July 19, 2020, 11:53:14 AM »
Kevin,
  Now that it looks like a working $PP is possible would you entertain a command line option that would make it persistent and send every line to ProcessLine in bcxpp.dll ?

James

James,

Yes ... I will consider it.

But before I sink any time into that request, I recommend simply placing a $PP at the top and bottom
of your programs achieves the same effect
.  $PP was not designed with C++ constructs in mind.  And
while $PP might work just fine with every C++ statement that you throw at it, no one has demonstrated
that yet.
 
« Last Edit: July 19, 2020, 11:55:19 AM by MrBcx »

jcfuller

  • Sr. Member
  • ****
  • Posts: 268
    • View Profile
Re: persistent $PP
« Reply #2 on: July 19, 2020, 12:28:01 PM »
Kevin,
  Thank you for the consideration.
$PP is not persistent through $includes.
I had to add $PP's start and end on all $include files I used.

James

Hold on.  It IS persistent . I swear I tried this before and it did not work. MY BAD!!!!
« Last Edit: July 19, 2020, 12:42:05 PM by jcfuller »

Robert

  • Hero Member
  • *****
  • Posts: 555
    • View Profile
Re: persistent $PP
« Reply #3 on: July 19, 2020, 02:00:52 PM »
Kevin,
  Thank you for the consideration.
$PP is not persistent through $includes.
I had to add $PP's start and end on all $include files I used.

James

Hold on.  It IS persistent . I swear I tried this before and it did not work. MY BAD!!!!

Hi James:

Don't sweat it. I am having exactly one of those days as well. W.T.F. I know this worked before, why not now ...

Today is National Ice Cream Day. I think I'll go to the store and reboot.

jcfuller

  • Sr. Member
  • ****
  • Posts: 268
    • View Profile
Re: persistent $PP
« Reply #4 on: July 19, 2020, 02:56:58 PM »
Robert,
  Aha. I only ate half of my pint of Ben & Jerry's Vanilla Caramel Fudge for lunch. Time to go finish it!

James