I.T. Discussion Community!
-Collapse +Expand
Prism
Search Prism Group:

Advanced
-Collapse +Expand Prism To/From
To/FromCODEGuides
-Collapse +Expand Prism Study Test
PRESTWOODCERTIFIED
-Collapse +Expand Prism Store
PRESTWOODSTORE

Prestwood eMagazine

October Edition
Subscribe now! It's Free!
Enter your email:

   ► eMag   Print This    All Groups  
View Group Edition:
Full Edition Your Edition || Prev Next || Subscription Center

eMag May 2011 Issue - Prism Edition

Subscribe!

Start subscribing now! It's free!

Each month on or after the 1st, and only once a month, we will send you content from up to 5 community groups. If you select this Prism group, you'll receive the following content below mixed in with the other groups you elect to include.

Prestwood eMag
Message Boards
PrestwoodBoards.com
  May 2011 - Prism Edition Year 13 Issue 5  
I.T. Discussion Community!


Expert guidance from working professionals!
psSendMail DLL topic:
v1.1 Documentation
by Wes Peterson
v1.1 of psSendMail will soon be replaced by v2.

Lighter Side topic:
Scrambled Text
by Mike Prestwood
Apparently if the first and last letters are correct, the rest don't matter.





 Prism Group Top 
Visit Group | My Group Settings
Language Basics topic (classic post):
Delphi Prism Custom Routines (method, procedure, function)
by Mike Prestwood

In Prism, everything is within a class (just like with C#, VB.Net, and Java). So you create class methods using the method keyword. Alternatively, you can use procedure or function if you want the compiler to enforce returning or not returning a value.


OOP topic (classic post):
Delphi Prism Partial Classes (partial)
by Mike Prestwood

Prism supports both partial classes and partial methods using the keyword partial. A partial method is an empty method defined in a partial class.


 Monthly Prism Lesson
OOP Topic:
Code Snippet of the Month

Prism uses unnamed constructor methods for constructors. Prism also supports a Create constructor method for backward compatibility with Delphi for Win32.

Cyborg = public class

public
  constructor ();
  constructor (pName: String );
end ;
Language Basics Topic:
Resource Link of the Month: The Delphi Prism WIKI

This wiki is provided as a central live source of information about Delphi Prism and will be updated in an ongoing process.

Tool Basics Topic:
Question:

Can I share code between a Delphi and a Dephi Prism project? I want to have a single source Win32 and .Net application.


Answer:

No, not really. Because both are Object Pascal based, you could share routines but there are enough syntax differences that make sharing large amounts of code difficult.

Use Oxidizer to help port your Win32 Delphi application to a .Net Prism application.

You can also try out ShineOn which is an implementation of the Delphi for Win32 RTL.




Follow PrestwoodBoards on: 


©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech