.NET Language Interoperability – PB Docs 120


.NET Language Interoperability

This part describes how to use conditional compilation blocks in PowerScript code. These coding blocks allow you to reference .NET objects and methods in PowerScript without triggering error messages from the PowerScript compiler.

It also describes how to connect to an EAServer component from a .NET client. A chapter on best practices provides suggestions for enhancing the .NET applications and components you build in PowerBuilder.

  • Conditional Compilation
    Use the number sign (#) at the start of a line or block of code in PowerBuilder to mark the code for specialized processing prior to PowerScript compilation.
  • Connections to EAServer Components
    You can build a .NET client application or component that invokes methods of Enterprise JavaBeans (EJB) components or PowerBuilder EAServer components running in EAServer 6.1 or later.
  • Best Practices for .NET Projects
    Although PowerScript is essentially a compiled language, it is quite tolerant. For the sake of performance, the PowerBuilder .NET compiler is not designed to be as tolerant as the PowerBuilder native compiler.

Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x