1. yakov werde
  2. PowerBuilder
  3. Friday, 25 May 2018 11:24 AM UTC

On an isolated build server where there is NO pb.ini file, what is the compiler behavior

[PB]
DashesInIdentifiers=1
 

Integer my-name-is-i, i

i=i-1

Will there be a compiler error? If so which

 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 25 May 2018 15:28 PM UTC
  2. PowerBuilder
  3. # 1

Hi Yakov;

   My guess is that the PBC does not support this PB.ini setting. However, I have sent this question over to both the Support & Engineering teams for a definitive answer.

BTW: That was a very old item added to PB version 1B to appease Cobol programmers. I should hope that no one is still using this today.   wink

Regards ... Chris

Comment
  1. yakov werde
  2. Friday, 25 May 2018 16:46 PM UTC
We support very old code that has dashes-in-identifiers and is very expensive to fix, so we leave it alone.  The down side is that we need to watch out for embedded subtraction operators who together with its operands is interpreted a one long identifier. This junk can bring a build down if we are not careful 

  1. Helpful
  1. Mark Lee @Appeon
  2. Monday, 28 May 2018 07:26 AM UTC
Hi Chris,



Yes, you are right! The PBC does not support this PB.ini setting.



 



Regards,



Mark Lee

  1. Helpful
  1. Henrik Milling
  2. Monday, 17 June 2019 14:43 PM UTC
Well - to some extent I think it does? If I change the option in the PB IDE - and then run the pbc170.exe on the same computer - then the result is reflected by the option set in the IDE. But - I cannot find out where it is stored. Maybe in the registry?
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.