iSnare.com - Free Content Articles Directory
Authors Contents [Advanced Search][Add OpenSearch][Job Search]
Distribute your articles to thousands of article sites for only $2 and below! Read more...

Index  Computers and Technology
 

Pascal To C# Conversion

 
[ Contact the Author] [ Send to a Friend] [ Article Publisher] [Make PDF] [ Print] [ Bookmark & Share]
 
Read our Terms of Service before reprinting this article. The submitter specified above has claimed the rights to this article.
Krunal & Narendra

Conversion is software re-engineering process. For using that, you should know both the languages. i.e. Pascal and C#.

Why do we opt for Conversion Software ?:

1) For Better Technology

2) For Better Speed

3) For Modularity

4) For Process Optimization

1) For Better Technology :

As Pascal is very old language, some of the features are not available as required for 3G Software like.- User Interface, Client Server Architecture etc.. And aAs C# is 3G Language, . bBetter GUI can be made easily.

2) For Better Speed./ Process Optimization

In Some applications, Pascal is more efficient and speedy than many 3G Languages.

Eg. File Manipulation Project. But Commercial Application can not be more efficient in Pascal. Application having extensive use of DATABASE can not be possible with Ppascal.

3) For Modularity :

Pascal is sequential language. It is not object oriented language. Variable declared in any Units of C# can be made available in current unit by just including that unit on the top of the file. wWhile in c# wWhole pProject is dDivided into Classes and hence wWithout an oObject wWe can not access variable declared in that class. C# have access specifier like Public, Private, Protected while fFor Pascal all variables iare s Public and can be available every where. Reusability can not be possible up to that extent ds as it is possible in c#.

What steps should be considered while using conversion software re-engg. Process ?:

1) Learning and Understanding Both Languages ( C# and Pascal )

2) Data Type Mapping for both languages.

a. Match types of Variable in Pascal with best match variable in c# ( eg . Integer in Pascal and int in c#).

b. Size of Variable.

Integer

-32768 to 32767

Int

-2147483646 to 2147483647

3) Memory Management.

As Pointer is directly supported by Pascal., dDirect implementation of pointer is not possible in c#.. As Pascal is using stack to store all the values of variable but c# is storing all the values in stack and heap memory.

4) File Management

File manipulation of Pascal is more efficient than C#. aAs Pascal provides direct support of sequential file access and random file access (through index). In C# nNo direct namespace is available for such file management function.

Another advantage of Pascal over c# is that structure (Record) is more efficient with file manipulation. wWhile in c# Structure is just logical bifurcation of Records.

Another advantage of Pascal over c# is that it provides better searching facilities in file with the help of Indexes. wWhile nNo such provision is there in c#.

5) Value Truncation (Implicit Conversion and Explicit Conversion)

We need to considered, Value truncation at the time of using Cconversion Software of Re-Engg. Process..

Pascal to C# Journey:

(1) We have decoded all the lines of pascal code.

(2) We have prepared Algorithm and Flow Charts of Existing Pascal code.

(3) We have studied both languages and considered all Factors mentioned above.

(4) We have dDecided all general Functions , wWhich will be required in c#

(5) We have developed Code Architecture and GUI Design.

(6) Started converting writing c# Code.

Important NoticeDISCLAIMER: All information, content, and data in this article are sole opinions and/or findings of the individual user or organization that registered and submitted this article at Isnare.com without any fee. The article is strictly for educational or entertainment purposes only and should not be used in any way, implemented or applied without consultation from a professional. We at Isnare.com do not, in anyway, contribute or include our own findings, facts and opinions in any articles presented in this site. Publishing this article does not constitute Isnare.com's support or sponsorship for this article. Isnare.com is an article publishing service. Please read our Terms of Service for more information.

Krunal Mevada is working as a Jr. Programmer at Semaphore Infotech Pvt. Ltd, India. He has 4 months Experience. & Narendra Desai is working as a Programmer at Semaphore Infotech Pvt. Ltd, India. He has more than 1.5 years Experience.http://www.semaphore-software.com
Article Tags: file [See Dictionary], pascal [See Dictionary], software [See Dictionary]
Got a question about this article? Ask the community!
Article published on January 24, 2008 at Isnare.com
 
Rate [Ratings: 5 / 5] [Votes: 1]

The Key Features of a HP CP3525 Printer
Submitted by: Derek Rogers

The Hewlett Packard CP3525 is an incredibly advanced series of Laser Jet printers They provide fantastic quality prints in double quick time; the compact size of the CP3525 lends it for use in the home and small offices...

Smartphone Vs Iphone - Pros And Cons
Submitted by: Roberto Sedycias

Smartphones and iPhone both are the novel introduction for communication, besides having a galore of features...

Digital Vs Analog Resolution - Pixels Vs TVL (TV Lines) Explained
Submitted by: Jon Hough

One of the most confusing and difficult topics in the CCTV world is resolution Most of us have digital cameras or video camcorders and have heard the term megapixel used as the most common comparison in resolution between various makes and models...

How to Prevent the Noise on Your Car Stereo
Submitted by: Jack Wylde

If you do not know or cannot comprehend what that term means “noise” from your car audio system then you perhaps don’t own a car audio system yet...

Dahle 30114 Personal Shredder Review
Submitted by: Jeff McRitchie

The Dahle 30114 is a personal-use shredder designed to be placed beside your desk and used occasionally throughout the day...

Comparing the Three Dahle Craft Trimmers
Submitted by: Jeff McRitchie

If you are in need of a new rotary trimmer for personal use, you might want to take a look at Dahle craft trimmers...

Dahle 30414 Shredder Review
Submitted by: Jeff McRitchie

Shredders are no longer a luxury in today's world With the onset of identity theft and increasing incidences of corporate espionage (not to mention federal regulations mandating the destruction of personal information) it is absolutely necessary for your office to have a shredder on site, and ready to use at all times...

Dahle 30430 Department Shredder Review
Submitted by: Jeff McRitchie

The Dahle 30430 is a high security shredder that is meant to be placed in a common area and used by multiple people during the course of the day...

Dahle 30114 Personal Cross-Cut Paper Shredder Review
Submitted by: Jeff McRitchie

Dahle is a premier name when it comes to paper shredders Based in Germany, the company has been in the paper shredding business for more than 20 years and they bring their experience and expertise to every shredder they manufacture, from small units to big ones...

MBM Destroyit 2404 Shredder Review
Submitted by: Jeff McRitchie

There is no better way to ensure the security of your confidential information than doing your own document shredding, on site and by hand...

MBM Destroyit 2501 Shredder Review
Submitted by: Jeff McRitchie

The Destroyit 2501 is MBM Corporation's smallest shredder that is designed for centralized, heavy-duty office use...

MBM Destroyit 2503 Shredder Review
Submitted by: Jeff McRitchie

Choosing a shredder for centralized office use is no easy task There are several models and manufacturers out there to choose from, all with similar but different capacities...

MBM Destroyit 3103 Shredder Review
Submitted by: Jeff McRitchie

With all the brands and models out there to choose from, finding the right shredder for centralized office use is no easy task...

Converting a Web Page to a PDF is Simple
Submitted by: Gregg Housh

Here at our office, we love the Firefox browser The innovative tabbed browsing system that Internet Explorer has finally adopted in IE8 is just one of the many advancements Firefox brought to the table when it was first launched in 2004...

Scrapbooking Requires Photo Matching Software
Submitted by: Maxim Smirnov

There was once a time when people used to get pictures developed and then cut them up to turn them into scrapbooks...

Isnare.com Footer Divider

© 2004-2009. Isnare Free Articles - An Isnare Online Technologies Free Articles Project. All Rights Reserved.   Privacy Policy